PHP安装扩展MysqLi的实现步骤及报错解决办法
terminal
PHP;">
#cd PHP-5.3.6/ext/MysqLi
#/usr/local/webserver/PHP/bin/PHPize
#./configure --with-PHP-config=/usr/local/webserver/PHP/bin/PHP-config
#make
#make instal
报错:
PHP;">
checking for MysqLi support... yes
checking whether to enable embedded MysqLi support... no
MysqL_config not found
configure: error: Please reinstall the MysqL distribution
加入配置
PHP;">
#./configure --with-PHP-config=/usr/local/webserver/PHP/bin/PHP-config --with-MysqLi=/usr/local/MysqL/bin/MysqL_config
编译通过
PHP;">
extension=MysqLi.so
如有疑问请留言或者到本站社区交流讨论,感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
原文链接:https://www.f2er.com/php/16757.html