首页 >后端开发 >php教程 >解决PHP Deprecated: Comments starting with '#' are deprecated in...的错误

解决PHP Deprecated: Comments starting with '#' are deprecated in...的错误

黄舟
黄舟原创
2017-03-28 09:22:492022浏览

错误信息:

PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/php/etc/php.ini on line 305 in Unknown on line 0

错误分析:PHP不支持#号注释,应以;注释,修改之前PHP配置。

我修改PHP配置文件php.ini中#号注释的行

;#disable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,
popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server
disable_functions =

以上是解决PHP Deprecated: Comments starting with '#' are deprecated in...的错误的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn