8_Php.ini 配置文件详解
Php.ini 配置文件详解(配置php错误日志)第一步禁用一些高风险函数 & 打开错误日志
# vim /usr/local/php/etc/php.ini
disable_functions = eval,passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,fsocket,fsockopen
display_errors = On
# apachectl -t
Syntax OK
# apachectl restart
下面来做测试:
# vim /data/www/forum.php
在forum.php 下加一行php 不能识的别的
页:
[1]