I want to run a php script that has curl.
but the following functions are disabled by php.ini:
EXEC, PassThru, shell_exec, system, proc_open, POPEN, curl_exec, curl_multi_exec, show_source
I changed the following line in php.ini:
disable_functions = exec, passthru, shell_exec, system, proc_open, popen, show_source
and run the service httpd restart command on ssh, but when I run the function phpinfo(), it will show curl_exec and curl_multi_exec will turn off again.
where is the problem and how to solve it?
source
share