2013-01-12 81 views
0

傢伙庫MySQLi但沒有啓用

我龍頭安裝從源頭上mysqli.so:

[[email protected] no-debug-non-zts-20090626]# pwd 
/usr/lib64/extensions/no-debug-non-zts-20090626 
[[email protected] no-debug-non-zts-20090626]# ls 
mysqli.so pdo_mysql.so 
[[email protected] no-debug-non-zts-20090626]# 

然後我能在/ PHP的安裝-2在/ etc/PHP .ini(我的php安裝在那裏):

extension=/usr/lib64/extensions/no-debug-non-zts-20090626/mysqli.so 

然後我重新啓動我的nginx服務器,但phpinfo沒有顯示MySQLi。

[http://sobugou.com/phpinfo.php][1] 

我的PHP安裝在

[[email protected] php-install-2]# pwd 
/disk1/php-install-2 
[[email protected] php-install-2]# ls 
bin etc include lib man sbin share var 
[[email protected] php-install-2]# cd etc/ 
[[email protected] etc]# ls 
php-fpm.conf php-fpm.conf.default php.ini 
[[email protected] etc]# 

誰能幫助?謝謝 !

回答