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

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

程序员文章站 2022-04-08 16:06:31
...
错误信息:
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 ,Deprecated