# Can't get a new PHP version installed

**URL:** <https://community.localwp.com/t/cant-get-a-new-php-version-installed/52130>\
**Category:** Support\
**Created:** [April 29, 2026, 9:17am UTC](https://community.localwp.com/t/cant-get-a-new-php-version-installed/52130 "2026-04-29T09:17:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![josf](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/josf/32/9892_2.png) [@josf](https://community.localwp.com/u/josf)\
**Post date:** [April 29, 2026, 9:17am UTC](https://community.localwp.com/t/cant-get-a-new-php-version-installed/52130/1 "2026-04-29T09:17:25Z")

</div>

I want to update my PHP version, but after doing that I get a persistent error message.  
How can I correct it?  
No matter what PHP version I try, I get this error message every time

[![](https://snipboard.io/S67MKp.jpg) ](https://snipboard.io/S67MKp.jpg)

* * *

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

* * *

### System Details

Local Version: 10.0.0+6907  
Operating System (OS) and OS version: Ubuntu 24.04.2 LTS

* * *

### Local Logs

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

* * *

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<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:** [April 29, 2026, 12:36pm UTC](https://community.localwp.com/t/cant-get-a-new-php-version-installed/52130/2 "2026-04-29T12:36:19Z")

</div>

If you create a new, blank site with the PHP version you want does that work @josf?

Could you share your full Local Log here for us? [Retrieving Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

---

<div class="post-metadata">

**Author:** ![josf](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/josf/32/9892_2.png) [@josf](https://community.localwp.com/u/josf)\
**Post date:** [May 1, 2026, 3:39am UTC](https://community.localwp.com/t/cant-get-a-new-php-version-installed/52130/3 "2026-05-01T03:39:23Z")

</div>

No, before I continue, this is as I discovered, not a PHP error but an mysql error.  
What I have done: un-installed LocalWP, reinstalled it.  
Create a new site. Set PHP to the latest version, and MySQL to 8.4. Refused, as per screenshot.  
Tried again, latest PHP version, now with MySQL 8.03. Works.

**I dug into it, and it is a LocalWP feature …** The Ubuntu version of LocalWP does not have/support MySQL 8.4. We have to install it manually in Ubuntu, then manually connect LocalWP to that version of MySQL. (courtesy of Google AI)

As Windows is loosing ground, and Linux is growing fast, you may want to change priorities a bit.

---

<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:** [May 1, 2026, 1:34pm UTC](https://community.localwp.com/t/cant-get-a-new-php-version-installed/52130/4 "2026-05-01T13:34:18Z")

</div>

Thank you for the details and follow-up here @josf. I went back and checked over our internal notes for this release, and while we did verify that this doesn’t work in Ubuntu 22, we had no problems with testing Ubuntu 24 on our end. I don’t have an Ubuntu setup to test, but I’ll check back with our devs on this and see if anything stands out. So thank you again for your patience here!

Would it still be possible to get a copy of your Local Log as well? If you’d prefer not to share it publicly I can send you a DM. Thanks!

---

<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:** [July 30, 2026, 1:39pm UTC](https://community.localwp.com/t/cant-get-a-new-php-version-installed/52130/7 "2026-07-30T13:39:47Z")

</div>

Closed on July 30, 2026, 1:39pm UTC

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