& Ldquo; Your PHP installation seems to be missing the MySQL extension required by WordPress. & Rdquo;

advertisements

I've spent 5 hours trying to resolve this issue. I've used every suggestive link that was relevant to my issue that Google listed. Nothing seems to work.

The OS is CentOS 6.5 and has Apache, PHP, and MySQL installed. I have several WordPress intranet sites working for almost a year with my subdomain xxxxx.xxxx.com.

First of all, I updated PHP 5.3.3 to the latest version. After that I got the error that MySQL extensions were not installed. I followed the different resolutions I could find and could not get a resolve. I therefore decided to remove php and install the older version I originally had. Since that time I am running into three problems.

  1. My domain now only shows the Apache page whereas it use to show my website;

  2. When I try to find out what php version I have by using the command php -v I would get what version was installed. After removing the updated version and installing the older one I get the error "php: command not found";

  3. When I try to remove the older version I can't find it's install location and phpinfo.php doesn't work (may have put it in the wrong place)

Any help resolving this issue would be greatly appreciated


i faced the same problem with my centos 7 installtion with php-fpm .. the solution was to install php-gd and php-pdo packages. those were the essential packages somehow required to make this all work.. good day