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
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
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.
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.
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!