PHP Warning: shell_exec() has been disabled for security reasons

Started by Dipak Bhoi, February 07, 2015, 03:49:19 PM

Previous topic - Next topic

Dipak Bhoi

Hello Guys,

One of our client was facing an issue at the time of installing installing vTiger on his VPS. He was receiving an error as mentioned below:

Quote[06-Feb-2015 04:19:16 Europe/London] PHP Warning:  shell_exec() has been disabled for security reasons in /home/username/public_html/watch_data_crm/modules/Migration/schema/600_to_610.php on line 923

It is because shell_exec() is disable on the server. You need enable that function to execute the script completely. Go to php.in configuration file and remove the shell_exec from disable_funcitons. Save and quite the fie and restart the apache service.

Quote#vi /usr/local/lib/php.ini

Quotedisable_functions =

:wq

Quote#service httpd restart

That's all, Enjoy  :)!!



MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.