MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Author Topic: PHP Warning: shell_exec() has been disabled for security reasons  (Read 6057 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
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:

[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 configuration file and remove the shell_exec from disable_funcitons. Save and quite the fie and restart the apache service.

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

disable_functions =


#service httpd restart

That's all, Enjoy  :)!!
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum