THE IT IDEAS

  • Home

Thursday, 20 August 2015

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

 THE IT IDEAS     18:03     php   



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

To start shell command execution in php code you need to edit php.ini and remove "shell_exec" from disable_functions line. below is the example of line

disable_functions = show_source,system,shell_exec,proc_open

to

disable_functions = show_source,system,proc_open

After remove the "shell_exec" save the php.ini file and Restart webserver.

Its done Enjoy !!!! :)


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Older Posts Home

Like Us !!!

Recent Posts

Blog Archive

  • ►  2016 (1)
    • ►  April (1)
  • ▼  2015 (12)
    • ▼  August (1)
      • PHP Warning: shell_exec() has been disabled for se...
    • ►  May (2)
    • ►  April (8)
    • ►  March (1)
  • ►  2014 (23)
    • ►  December (8)
    • ►  November (12)
    • ►  April (2)
    • ►  March (1)
  • ►  2013 (7)
    • ►  December (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (3)
  • ►  2012 (15)
    • ►  December (6)
    • ►  November (9)

Categories

apache2 EC2 error mysql php ubuntu aws aws rds browser github installation linux mount s3 AWS Bucket CentOS Computer DocumentRoot change How to Benchmarking Webserver IP LAMP Restart Computer SCP command SQL SERVER XRDP administrator amazon rds backup basic commands chat command line disable download drupal ec2.chroot environment external storage device fstab functions geoip gmail google home page iis instance internet java mod rewrite mongodb multiple login network password one password php5 php5-fpm php7 private browsing python repair filesystem repo reset password rhel sa password same computer script sftp share skype ssh tomcat ubuntu 16.04 ubuntu16 visudo windows 8 youtube
JobsMagBlogJobsMag.InThingsGuide

Popular Posts

  • How to setup Network Configuration in Ubuntu Server 14.04
    Open Network Configuration file. #nano /etc/network/interface Then Add below mentioned lines and make changes as per your need. auto eth0 i...
  • Amazon RDS Restore MySQL Backup with functions
    1) Open the RDS web console. 2) Open the “Parameter Groups” tab. 3) Create a new Parameter Group. On the dialog, select the MySQL fami...
  • How to Create VirtualHost in Apache 2.4
    Install Apache2 with below command. #sudo apt-get install Apache2 Create Demo VirtualHost Directory #sudo mkdir -p /var/www/html/exam...

Copyright © THE IT IDEAS | Powered by Blogger