开发者

httpd.conf: PHP, Local Value doesn't work

开发者 https://www.devze.com 2023-02-27 20:07 出处:网络
I now have this when I run phpinfo(): disable_functions: [local]=exec, [master]=shell_exec But I s开发者_运维问答till can execute exec in that file where I put phpinfo in. Why? Local does overwrite ma

I now have this when I run phpinfo(): disable_functions: [local]=exec, [master]=shell_exec But I s开发者_运维问答till can execute exec in that file where I put phpinfo in. Why? Local does overwrite master, doesn't it? How can I fix this?

Regards, Kevin


The disable_functions directive can only be set in php.ini -- so, I'm guessing your local value is just ignored by PHP, in this case.

Quoting the manual page I linked to :

This directive must be set in php.ini For example, you cannot set this in httpd.conf.

0

精彩评论

暂无评论...
验证码 换一张
取 消