php提示Call-time pass-by-reference has been deprecated in的解决方法[已测]

前端之家收集整理的这篇文章主要介绍了php提示Call-time pass-by-reference has been deprecated in的解决方法[已测]前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Warning: Call-time pass-by-reference has been deprecated in E:\Program Files\EasyPHP 3.0\www\bugfree\Include\Class\XmlParse.class.PHP on line 46 Warning: Call-time pass-by-reference has been deprecated in E:\Program Files\EasyPHP 3.0\www\bugfree\Include\Class\XmlParse.class.PHP on line 47 Warning: Call-time pass-by-reference has been deprecated in E:\Program Files\EasyPHP 3.0\www\bugfree\Include\Class\XmlParse.class.PHP on line 47 Warning: Call-time pass-by-reference has been deprecated in E:\Program Files\EasyPHP 3.0\www\bugfree\Include\Class\XmlParse.class.PHP on line 48 Warning: Call-time pass-by-reference has been deprecated in E:\Program Files\EasyPHP 3.0\www\bugfree\Include\Class\XmlParse.class.PHP on line 49 Warning: Call-time pass-by-reference has been deprecated in E:\Program Files\EasyPHP 3.0\www\bugfree\Include\Class\XmlParse.class.PHP on line 51 Warning: Call-time pass-by-reference has been deprecated in E:\Program Files\EasyPHP 3.0\www\bugfree\Include\Class\XmlParse.class.PHP on line 56 Warning: Call-time pass-by-reference has been deprecated in E:\Program Files\EasyPHP 3.0\www\bugfree\Include\Class\XmlParse.class.PHP on line 56 解决办法如下:修改conf_files目录下PHP.ini中allow_call_time_pass_reference = On即可。 如果你找不到PHP.ini的位置 好了 绝招来了
在根文件夹下建一个 PHPinfo.PHP 文件 在里面输入如下代码

代码如下:
PHP
PHPinfo();
?>

PHP.ini位置,iis+PHP一般位于 c:\windows\PHP.ini
而apache+PHP一般是 PHP-apache2handler.ini

原文链接:https://www.f2er.com/php/27207.html

猜你在找的PHP相关文章