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

黄舟
Release: 2023-03-07 06:36:01
Original
1986 people have browsed it

Error message:

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

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 =
Copy after login
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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!