Home  >  Article  >  Backend Development  >  Solving the error PHP Deprecated: Comments starting with '#' are deprecated in...

Solving the error PHP Deprecated: Comments starting with '#' are deprecated in...

黄舟
黄舟Original
2017-03-28 09:22:491945browse

Error message:

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

Error analysis: PHP does not support the # comment. It should be commented with; to modify the previous PHP configuration.

I modified the line commented

;#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 =
in the PHP configuration file php.ini

The above is the detailed content of Solving the error PHP Deprecated: Comments starting with '#' are deprecated in.... For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn