MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

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:

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

Quote
disable_functions =

:wq

Quote
#service httpd restart

That's all, Enjoy  :)!!



 
MilesWeb.com
cPanel Hosting in India - cPanel Hosting in India.

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

MilesWeb Hosting Forum