出现故障信息: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");