The php.ini file most likely contains something like the following:
disable_functions =exec,passthru…
You should remove the functions you would like to enable from that list.
You may also need to restart your apache web service.
Thank You!
I have removed the ‘passthru’ from disable_functions but I still receive the error below. How do I restart apache service?
Disabled Functions: ini_alter,system,passthru,shell_exec,leak,listen,chgrp,apache_setenv,define_syslog_variables,openlog,syslog,ftp_exec,posix_getpwuid,posix_getpwnam,symlink
Please enable ‘passthru’ function in php.ini!
Also, which ‘exec’ file should I remove? There are a couple, ‘shell_exec’ and ‘ftp_exec’
Thanks for the help.
You can try “service httpd restart” if you have SSH access.
If you do not have SSH access than your web host should have a way for you to restart the service.
As far as the ‘exec’ it does not appear to be in the list of disabled functions, so you do not need to worry about it most likely.
Thank You!