Using Ubuntu Server 16
PHP5.5 FPM
PHP Version 5.5.35-7+donate.sury.org~xenial+1
Trying to install WordPress:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
I have un-commented sql lines from php.ini of FPM 5.5
Trying to install mysqlnd-ms:
sudo apt-get install php5-mysqlnd-ms
sudo apt-get install php5.5-mysqlnd-ms
sudo apt-get install php7-mysqlnd-ms
sudo apt-get install php-mysqlnd-ms
Getting error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-mysqlnd-ms
Best Answer
I tried
sudo apt-get install php-mysqlnd
and it said I need to explicitly choose one to install. So this worked for me:sudo apt-get install php5.6-mysql
Don't forget to restart apache