PHP链接MySQL数据库,出现错误:Fatal error: Call to undefined function mysql_connect();
环境:centos 6.5
解决方法:yum install php-mysql启动apache遇到错误:httpd: Could not reliably determine the server’s fully qualified domain name, using 10.xx.xx.xx for ServerName
环境:centos 6.5
解决方法: vim /etc/httpd/conf/httpd.conf ,搜索”#ServerName”,添加ServerName localhost:80,并注释掉ServerName www.example.com:80
php相关错误
最新推荐文章于 2024-07-22 18:03:31 发布