源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

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

  • 时间:2021-03-05 20:20 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:php安装扩展mysqli的实现步骤及报错解决办法
[b]php安装扩展mysqli的实现步骤及报错解决办法[/b] [b]terminal[/b]
#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 
报错:
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
mysql_config not found
configure: error: Please reinstall the mysql distribution
加入配置
#./configure --with-php-config=/usr/local/webserver/php/bin/php-config --with-mysqli=/usr/local/mysql/bin/mysql_config 

编译通过 将生成的mysqli.so配置加入php.ini中
extension=mysqli.so
如有疑问请留言或者到本站社区交流讨论,感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部