www.data-blogger.com
www.data-blogger.com

Reputation: 4164

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

I now have this when I run phpinfo(): disable_functions: [local]=exec, [master]=shell_exec But I still 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

Upvotes: 0

Views: 272

Answers (1)

Pascal MARTIN
Pascal MARTIN

Reputation: 401142

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.

Upvotes: 4

Related Questions