首页>>帮助中心>>香港云服务器Warning: Call-time pass-by-reference has been deprecated解决方法

香港云服务器Warning: Call-time pass-by-reference has been deprecated解决方法

2024/9/19 218次

香港云服务器Warning: Call-time pass-by-reference has been deprecated解决方法
/*Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of getimagesize(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. ind:\vhost\include\inc_custom_fields.php on line178*/我把php.ini的display_errors = on改成display_errors = off // (不显示错误)就不显示了。虽然没有什么影响。但是心里还是有个疙瘩。。。百度上没有找到什么答案,然后在google上 找到了。修改php.ini就可以了。 1. 在PHP.ini中搜索关键字 : allow_call_time_pass_reference 没有的自行建立。2. 将 Off 改成 On ,Web Server重起就OK了~
allow_call_time_pass_reference = Off 变成 allow_call_time_pass_reference = On

购买使用一诺网络香港服务器,可以极大降低初创企业、中小企业以及个人开发者等用户群体的整体IT使用成本,无需亲自搭建基础设施、简化了运维和管理的日常工作量,使用户能够更专注于自身的业务发展和创新。香港服务器低至29元/月,购买链接:https://www.enuoidc.com/vps.html?typeid=2