Siiigh. First off, I’m not good at this, for the record. Second I followed the DO tutorial for updating php to 7.4 But now my sql is just gone and unavailable.
E: Unable to locate package php7.4-mysql E: Couldn’t find any package by glob ‘php7.4-mysql’ E: Couldn’t find any package by regex ‘php7.4-mysql’
So naturally my wordpress site doesn’t work now.
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
I need help. Badly.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi there,
Can you confirm the exact Ubuntu version that you are running? You can check that with:
Feel free to share the output here.
Also which tutorial exactly did you follow and Are you using the
ppa:ondrej/php
repository?If this is the case, going through the available PHP 7.4 packages on the repository here:
http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/p/php7.4/
It looks like that
php7.4-mysql
package is not available for Ubuntu 20.10.I could suggest one of the following things:
Let me know how it goes.
Best, Bobby