在ubuntu中出现Call to undefined function: mysql_connect()
来源:互联网 发布:主播直播软件 编辑:程序博客网 时间:2024/05/29 19:14
来自:http://blog.sina.com.cn/s/blog_6b8bea470100qrdw.html
这说明你的php不能和mysql正常连接。这个原因在于:
你少装了一个包。ubuntu下依次运行
sudo apt-get install php5-mysql
dpkg-reconfigure php5-mysql
sudo /etc/init.d/mysql restart
sudo /etc/init.d/apache2 restart
感谢这位大神.花了半天的时间.解决问题的关键在于找到问题根源.
0 0
- 在ubuntu中出现Call to undefined function: mysql_connect()
- 在ubuntu中出现Call to undefined function: mysql_connect()
- 在ubuntu中出现Call to undefined function: mysql_connect()
- 在ubuntu中出现Call to undefined function: mysql_connect()
- 在ubuntu16.xx PHP测试连接MySQL中出现Call to undefined function: mysql_connect()
- Call to undefined function: mysql_connect()
- Call to undefined function mysql_connect()
- Call to undefined function mysql_connect()
- linux(ubuntu) php : call to undefined function mysql_connect
- Fatal error: Call to undefined function mysql_connect()
- Call to undefined function mysql_connect()【转】
- Fatal error: Call to undefined function mysql_connect()
- call to undefined function mysql_connect()错误解决
- Call to undefined function mysql_connect() 错误解决方法
- Fatal error: Call to undefined function mysql_connect()
- php mysql Call to undefined function mysql_connect()
- Call to undefined function mysql_connect()解决办法
- Fatal error: Call to undefined function mysql_connect()
- TYVJ 2218 最大矩阵
- 《要么读书,要么旅行,身体和灵魂总有一个在路上》读后感
- 特别注意:Delphi数组的赋值,SetLength没有作用
- 2、Mongodb快速入门之使用Java操作Mongodb
- 面试题 22
- 在ubuntu中出现Call to undefined function: mysql_connect()
- 对于Post提交的Flash游戏作弊方法
- tomcat配置(ubuntu 14.04 server)
- Light Oj 1194 colored T-shirts 经典状压dp
- html5响应式图片
- QtSoap向webservice传递结构体或类参数
- Process Monitor 监控文件访问
- 治风寒感冒 慎吃中成药
- 文章标题