php mysqli报错,php安装扩展mysqli的实现步骤及报错解决办法
生活随笔
收集整理的這篇文章主要介紹了
php mysqli报错,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
如有疑問請留言或者到本站社區交流討論,感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!
總結
以上是生活随笔為你收集整理的php mysqli报错,php安装扩展mysqli的实现步骤及报错解决办法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [云炬创业学笔记]第二章决定成为创业者测
- 下一篇: arcgis不闭合线转面_【干货】Arc