# Error creating a site on Mac Studio

**URL:** <https://community.localwp.com/t/error-creating-a-site-on-mac-studio/38672>\
**Category:** Archived Support\
**Created:** [August 18, 2023, 2:50am UTC](https://community.localwp.com/t/error-creating-a-site-on-mac-studio/38672 "2023-08-18T02:50:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgewirtz](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/dgewirtz/32/19275_2.png) [@dgewirtz](https://community.localwp.com/u/dgewirtz)\
**Post date:** [August 18, 2023, 2:50am UTC](https://community.localwp.com/t/error-creating-a-site-on-mac-studio/38672/1 "2023-08-18T02:50:19Z")

</div>

Local 7.1.2+6410  
Mac OS Ventura 13.5  
64GB Ram, plrenty of storage.

When attempting to create a site running PHP 5.6, Apache, and MySQL 5.7, I get the following error:

**Error Installing WordPress for testsite**  
Command failed: /Users/david/Library/Application Support/Local/lightningservices/php-5.6.39+9/bin/darwin/bin/php /Applications/Local.app/Contents/ Resources/extraResources/bin/wp-cli/wp-cli.phar–path=/Users/david/ Documents/Development/local-sites/testsite/app/public --require=/ Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/localwpcli-error-reporting.php–skip-plugins–skip-themescoreinstall url=http:/testsite.local --title=testsite --admin\_user=test [-admin\_password=tset--admin\_email=david@zatz.com](mailto:-admin_password=tset--admin_email=david@zatz.com)

This is repeatable. I’ve tried it with a variety of site names (I need to run those ancient versions because I’m trying to migrate an old site).

* * *

### Local Logs – Attached

[local-lightning.log](https://community.localwp.com/uploads/short-url/jVD7XBCz0A8XuDhd8x63KaOTjVu.log) (247.6 KB)

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [August 18, 2023, 1:31pm UTC](https://community.localwp.com/t/error-creating-a-site-on-mac-studio/38672/2 "2023-08-18T13:31:28Z")

</div>

Hi @dgewirtz

This is due to the EOL of PHP 5.6. More details below:

[WordPress (& Local) Ends PHP 5.6 Support](https://community.localwp.com/t/wordpress-local-ends-php-5-6-support/38620)

---

<div class="post-metadata">

**Author:** ![dgewirtz](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/dgewirtz/32/19275_2.png) [@dgewirtz](https://community.localwp.com/u/dgewirtz)\
**Post date:** [August 18, 2023, 2:10pm UTC](https://community.localwp.com/t/error-creating-a-site-on-mac-studio/38672/3 "2023-08-18T14:10:36Z")

</div>

I am right in the middle of a migration that requires 5.6 where I need to create a bunch of sites to do the move. Can I back-rev Local somehow (without nuking all my other sites) or somehow force the creation of 5.6-based sites?

---

<div class="post-metadata">

**Author:** ![austinwendt](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/austinwendt/32/13912_2.png) [@austinwendt](https://community.localwp.com/u/austinwendt)\
**Post date:** [August 18, 2023, 2:34pm UTC](https://community.localwp.com/t/error-creating-a-site-on-mac-studio/38672/4 "2023-08-18T14:34:57Z")

</div>

Hi @dgewirtz - it is hacky, but technically possible… I’ll disclaim by saying this workflow won’t work forever as we’ll be marking PHP 5.6 as EOL inside Local soon.

1. Create a site with a newer PHP version (use 8.1.9, for example), Apache, and MySQL 5.7.
2. Site should create successfully.
3. Open site shell for the site
4. Run `wp core update --version=6.2 --force` (insert any value of WordPress you’d like, but 6.2 is the last version that was compatible with PHP 5.6).
5. In the Site Overview on Local, change the PHP version to 5.6. Site should update to the older PHP.
6. Import your content as needed.

Local will show an “Update to 6.3” prompt in the WordPress version field - don’t click this or your site will be incompatible and you’ll have to do the force update again.

---

<div class="post-metadata">

**Author:** ![dgewirtz](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/dgewirtz/32/19275_2.png) [@dgewirtz](https://community.localwp.com/u/dgewirtz)\
**Post date:** [August 18, 2023, 7:47pm UTC](https://community.localwp.com/t/error-creating-a-site-on-mac-studio/38672/5 "2023-08-18T19:47:58Z")

</div>

Thanks! Once my migration is done, I won’t look back. But for the next week or so…

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 21, 2023, 6:47pm UTC](https://community.localwp.com/t/error-creating-a-site-on-mac-studio/38672/6 "2023-08-21T18:47:24Z")

</div>

Closed on August 21, 2023, 6:47pm UTC

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
