解决在苹果cms在XAMPP环境下报错问题Msg: mysql_connect() [function.mysql-connec...

佚名maccms教程人气:550时间:2021-01-21 07:07:10

出现故障信息:Deprecated: Assigning the return value of new by reference is deprecated in E:\xampp\php\PEAR\Config.php on line 80Deprecated: Assigning the return value of new by reference is deprecated in E:\xampp\php\PEAR\Config.php on line 166系统提示:Msg: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: File: E:\xampp\htdocs\maccms\inc\class.phpLine: 9这是由于xampp环境自带的PEAR引起的。解决办法:简单的处理办法,用编辑器打开修改 苹果cms的 inc/conn.php 文件,把require_once ("config.php");修改为 require_once (dirname(__FILE__)."/../inc/config.php");

551

maccms免费模板

maccms8模板

maccms10模板

模板教程