Last Updated: February 25, 2016
·
4.638K
· pkg

mysql extension not showing on phpinfo [fixed]

I was upgrading mysql5.5 to mysql5.6 on My Linode LEMP server with Nginx, PHP-FPM but for some compatible reason. Browser stop responding to mysql functions.

Work around

stop php5-fpm
/etc/init.d/php5-fpm stop

remove php5-fpm
apt-get remove php-fpm (php5-fpm)

make sure you have installed
apt-get install php5-mysql

restart mysql
restart nginx

if its not working
/etc/init.d/php-fcgi-domain-com restart

try now