mysql - php5-msql installed on Ubuntu but not shown in phpinfo.php -


i setting nginx+php+mysql on ubuntu 12.04.

i used

apt-get install php5-mysql  

to install mysql module php. however, seems installed , enabled, yet shown in phpinfo.php , cant php application connect mysql server. php app accessible, , can view things on phpinfo.php.

btw, mysql running normally, because running rails app using it, know working fine.

as @vstm said quick summary others answer quicker:

1. kill php-cgi

killall php-cgi

2. restart php-fpm

/etc/init.d/php5-fpm restart or service php5-fpm restart

3. double check with

grep -e 'extension=(pdo_)?mysql.so' -r /etc/php5


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -