当前位置:Gxlcms > PHP教程 > deprecatedphp提示Call-timepass-by-referencehasbeendeprecatedin的解决方法[已测]

deprecatedphp提示Call-timepass-by-referencehasbeendeprecatedin的解决方法[已测]

时间:2021-07-01 10:21:17 帮助过:2人阅读

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 文件 在里面输入如下代码

代码如下:


phpinfo();
?>


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

以上就介绍了deprecated php提示Call-time pass-by-reference has been deprecated in的解决方法[已测],包括了deprecated方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

人气教程排行