加入收藏 | 设为首页 | 会员中心 | 我要投稿 开发网_郴州站长网 (http://www.0735zz.com/)- 云通信、区块链、物联设备、云计算、站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

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

发布时间:2022-06-08 11:27:27 所属栏目:PHP教程 来源:互联网
导读:这篇文章主要介绍了 php安装扩展mysqli的实现步骤及报错解决办法的相关资料,希望通过本文能帮助到大家,需要的朋友可以参考下 php安装扩展mysqli的实现步骤及报错解决办法 terminal #cd php-5.3.6/ext/mysqli #/usr/local/webserver/php/bin/phpize #./confi
  这篇文章主要介绍了 php安装扩展mysqli的实现步骤及报错解决办法的相关资料,希望通过本文能帮助到大家,需要的朋友可以参考下
 
  php安装扩展mysqli的实现步骤及报错解决办法
 
  terminal
 
  #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
 
 

(编辑:开发网_郴州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读