top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

PHP and exception for disabled_functions

0 votes
352 views

in the php.ini file I've disabled some functions (exec and similar). In the php script we must use binary execution - so I had to enable function "exec" again. And here is a question - does php have an option, that I could set : this binary file could use this disabled function ? Like :

disable_functions_binary_exception = /usr/local/bin/compute_doomsday
disable_functions_function_exception = exec
posted Jul 30, 2013 by Sonu Jindal

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Interesting function, but disable_function is configurable only from php.ini file.

1 Answer

0 votes

Maybe you think for ini_set()
http://php.net/manual/en/function.ini-set.php

answer Jul 30, 2013 by Abhay Kulkarni
...