当前位置:Gxlcms > PHP教程 > 解决PHPDeprecated:Commentsstartingwith'#'aredeprecatedin...的错误

解决PHPDeprecated:Commentsstartingwith'#'aredeprecatedin...的错误

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

错误信息:

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...的错误的详细内容,更多请关注Gxl网其它相关文章!

人气教程排行