Thursday, October 6, 2011

Warning: ini_set() has been disabled for security reasons in

Pligg, Drupal, etc... - Error Message "Warning: ini_set() has been disabled for security reasons in /home/........config.php on line 9 ..."

How to solve the above problem? generally only need 2 steps to do, are:
1 - Create php.ini file , that containts the following codes :
disabled_funcions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen

Then, upload/save the above php.ini file into the root of your website in CPANEL/SERVER, e.g. /home/YOUR-USERNAME/php.ini

2 - Edit your .htaccess file that located in /home /username/public_html/.htaccess, and add the following code at the first line:
suPHP_ConfigPath /home/username

If you are using PLIGG CMS and still get the error message in the Admin Area, to solve it, you can upload or copy the php.ini file into the Admin Folder, e.g. /public_html/admin/php.ini

Well.. I share this tips , based on my experience recently at my pligg sites, - bookmarking site

Shiree Odiz Diamond Engagement Rings


  1. Thx for your share :D
    have a great day

  2. thanx for this.. it is really helpful for me .... m definitely gonna share it on my blog with your reference

  3. useful information but after doing that my page is showing blank page open

  4. thanks for sharing this.. it helped me allottt


Please leave your comments or your promotion links, but don't add HTML links into the comment body, because I consider it as a spam, and will be delete..

Thank you for your visit..