Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Your PHP installation appears to be missing the MySQL extension which is required by WordPress.



Threaded Mode | Print  

 Your PHP installation appears to be missing the MySQL extension which is required by WordPress., ampps 3.7 php 7, wordpress 4.8 (5 Replies, Read 12165 times)
patter
Group: Member
Post Group: Newbie
Posts: 4
Status:
This is a new install today. I've been googling, it looks like the file I am missing is php-mysql. However, I have mysqli.so checked in the extensions and there is a mysqli file which says :

extension=mysqli.so

So it might not be missing so much as not found. How do I get this connected?
IP: --   

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
patter
Group: Member
Post Group: Newbie
Posts: 4
Status:
update

1. there is no php.ini file in either 7.0 or 7.1
2. Opening the ini files I do have goes through WINE, which I hope is not a red flag
3. my ini files are in 5.3, 5.5, 'efront', and travis, inside phpmyadmin

I found php-7.1.ini in /usr/local/ampps/conf and copied it to /usr/local/ampps/php-7.1/etc/php.ini

but this DID NOT solve my problem. I get the same wordpress error. I am out of ideas.
IP: --   

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Hi,

Try this:

Open AMPPS Panel --> PHP Settings --> Click on Restore Default Configuration.
IP: --   

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
patter
Group: Member
Post Group: Newbie
Posts: 4
Status:
My default was php 5.5, and almost NONE of your bundled programs can run on it. I got a VERY long list of apps that said they couldn't work with 5.5. So I don't see how restoring my defaults is going to help, nevertheless....

1. It did not reset me to 5.5, but left me with 7.1, which I find surprising, BUT
2. I still have exactly the same error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
IP: --   

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
patter
Group: Member
Post Group: Newbie
Posts: 4
Status:
p.s. - your support site https://www.softaculous.com/support/tickets.php is just coming up a white screen.
IP: --   

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
TorremochaJ
Group: Member
Post Group: Newbie
Posts: 1
Status:
When I upgraded my website PHP from version 5.6 to 7.2, I encountered this problem “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”. It turns out that mysql extension is no longer supported in php version 7.2. It is now using mysqli extention. I am using old version of wordpress which still using mysql extension that is why the problem existed. So what I did is upgraded the wordpress to the core. This solve the problem.

Here's the steps I followed when upgrading wordpress manually.
1. First I created a full backup of my website Fraction Calc. This is very important in case of mistake.
2. I download the newest WordPress ZIP file from wordpress.org.
3. I unzipped the file into a local directory of my computer.
4. I went to my website root directory and deleted your ‘wp-includes’ and ‘wp-admin’ directories. I used sFTP connection using Filezilla software.
5. I uploaded the new wp-includes and wp-admin directories from the new version of WordPress I unzipped to my website root directory and replaced the directories I just deleted.
6. I did not delete the wp-content directory or any of the files in that directory. I just copied over the files from the wp-content directory in the new version of WordPress to my existing wp-content directory. All existing files with the same name have been overwritten.
7. I copied all files from the root (‘/’) directory of the new version of WordPress that I unzipped into my website root directory (or the root directory of your WordPress installation). Existing files has been overwritten and new files has been copied across. wp-config.php file was not be affected because WordPress has never distributed with a wp-config.php file.
8. I compare wp-config-sample.php which was\s distributed with WordPress but did not find anything to change so I just used the old one.
9. I cleared my browser cache to ensure I can see all changes.
10. I checked the site and there is no error now. Thanks God the upgrade was completed.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 10:28 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.029