欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

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

程序员文章站 2022-06-25 16:01:59
warning: call-time pass-by-reference has been deprecated in e:\program files\easyphp 3...

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