# Older PHP Versions missing on new Local install

**URL:** <https://community.localwp.com/t/older-php-versions-missing-on-new-local-install/41483>\
**Category:** Support\
**Created:** [February 21, 2024, 9:45pm UTC](https://community.localwp.com/t/older-php-versions-missing-on-new-local-install/41483 "2024-02-21T21:45:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mapbry](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@mapbry](https://community.localwp.com/u/mapbry)\
**Post date:** [February 21, 2024, 9:45pm UTC](https://community.localwp.com/t/older-php-versions-missing-on-new-local-install/41483/1 "2024-02-21T21:45:35Z")

</div>

### What issue or error are you experiencing?

I have a new mac and I’ve just downloaded and installed a fresh version of Local. On my previous installation on my old mac I was able to change the PHP version between multiple options. Now I’m only able to see version 8.1.23.

I need 7.4.30 on a site I still have to support. It will be upgraded soon, but not yet. How can i get all these options back?

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Old Mac:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/5/c/5c71a9980e9e143f75c8dcf71faa99f378f3edb8.png)

New Mac:  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/7/a/7afa3f14aef97c160116ef1245054c4e6ab604f5.png)

* * *

### System Details

- **Local Version:**  
Version 8.2.1+6583 on Both Macs

- **Operating System (OS) and OS version:**  
Mac - Sonoma 14.2

* * *

EDIT: Removing some unused template fields.

---

<div class="post-metadata">

**Author:** ![NdnaJnz](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ndnajnz/32/4435_2.png) [@NdnaJnz](https://community.localwp.com/u/NdnaJnz)\
**Post date:** [February 22, 2024, 1:31am UTC](https://community.localwp.com/t/older-php-versions-missing-on-new-local-install/41483/2 "2024-02-22T01:31:13Z")

</div>

Mapbry –  
Assuming Local 7.1.2 runs on Sonoma, I can send it to you. I haven’t upgraded to Local 8.x because there still seems to be a number of big issues.

---

<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:** [February 22, 2024, 3:43pm UTC](https://community.localwp.com/t/older-php-versions-missing-on-new-local-install/41483/3 "2024-02-22T15:43:44Z")

</div>

Hi @mapbry

You should still have a dropdown like that with several versions of PHP to choose from. I’m on Sonoma as well and see them currently. Is this on a new, blank site that you just spun up it only shows 8.1.23? What happens when you create a new site using the Custom option and click the PHP dropdown?

Can you try a complete uninstall and reinstall to see if that works first?

> **[Uninstall Local](https://localwp.com/help-docs/troubleshooting/uninstalling-local/)**
>
> We’re sorry to see you go! Follow the instructions below to remove Local. Table of Contents: There are three main parts to the Local app, and depending on what you are trying to do, you may want to…

---

<div class="post-metadata">

**Author:** ![mapbry](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@mapbry](https://community.localwp.com/u/mapbry)\
**Post date:** [February 22, 2024, 5:38pm UTC](https://community.localwp.com/t/older-php-versions-missing-on-new-local-install/41483/4 "2024-02-22T17:38:54Z")

</div>

I will try this later today! I should have thought to try this before I opened this. Will report back.

---

<div class="post-metadata">

**Author:** ![mapbry](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@mapbry](https://community.localwp.com/u/mapbry)\
**Post date:** [February 22, 2024, 9:28pm UTC](https://community.localwp.com/t/older-php-versions-missing-on-new-local-install/41483/5 "2024-02-22T21:28:22Z")

</div>

Uninstalling and reinstalling didn’t resolve this. I did initially install using Homebrew. Not sure if that is part of the problem. Uninstalling the cask and ensuring all the directories specified in the Uninstall Local article you sent didn’t seem to fix it. Even trying to install using the installer from the [localwp.com](http://localwp.com) site didn’t fix it.

I have however found a solution: if I copy the contents of _~/Library/Application\ Support/Local/lightning-services/_ from my old mac to my new one (in the same location) it will give me the 7.4.30 option now. It’s still not showing the other downloadable versions that I didn’t already have downloaded on my old mac. However this looks like it is working for me now.

Maybe for anyone else, don’t use Brew to install Local - stick to the default installer.

---

<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:** [February 23, 2024, 2:24pm UTC](https://community.localwp.com/t/older-php-versions-missing-on-new-local-install/41483/6 "2024-02-23T14:24:37Z")

</div>

Thank you for the update @mapbry!

---

<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:** [February 25, 2024, 2:25am UTC](https://community.localwp.com/t/older-php-versions-missing-on-new-local-install/41483/7 "2024-02-25T02:25:08Z")

</div>

Closed on February 25, 2024, 2:25am UTC

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