微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

php安装扩展mysqli的实现步骤及报错解决办法

PHP安装扩展MysqLi的实现步骤及报错解决办法

terminal

rush: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

报错:

rush: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

加入配置

rush:PHP;"> #./configure --with-PHP-config=/usr/local/webserver/PHP/bin/PHP-config --with-MysqLi=/usr/local/MysqL/bin/MysqL_config

编译通过

生成MysqLi.so配置加入PHP.ini中

rush:PHP;"> extension=MysqLi.so

如有疑问请留言或者到本站社区交流讨论,感谢阅读,希望能帮助到大家,谢谢大家对本站的支持

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐