0
我龍頭安裝從源頭上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]#
誰能幫助?謝謝 !
謝謝,我明白了! – MrROY