How to resolve: Warning: ini_set() has been disabled for security reasons Error

Having problem with your newly installed, WordPress / Joomla or other CMS Website? And is this error keep on appearing to your website? Webhost limits this things to make your website more secured. And to disable such security options you would need to create a php.ini settings file.

Here are the steps on how to resolve “Warning: ini_set() has been disabled for security reasons” Error

Screen Shot 2014-01-17 at 10.29.07 am

Step 1. In the root folder of your website, create a new file and save it as “php.ini” on your FTP Filemanager

Screen Shot 2014-01-17 at 10.40.39 am

Screen Shot 2014-01-17 at 10.40.47 am

Screen Shot 2014-01-17 at 10.40.58 am

Step 2. Edit php.ini, copy and paste the code below:

safe_mode = Off
display_errors = Off
memory_limit = 64M
disable_functions =

Screen Shot 2014-01-17 at 10.41.03 am

Screen Shot 2014-01-17 at 10.41.10 am

Step 3: Save and reload website to see if it’s working.

Screen Shot 2014-01-17 at 12.56.42 pm

This will take out the limitations set by your host server.

By |2018-04-10T10:50:58+00:00January 17th, 2014|How To's, Tutorials, Web Designing, Websites|


  1. Cristian May 4, 2015 at 12:40 pm

    dont work….

  2. Bitta October 28, 2014 at 9:58 pm

    Great work it solved my problem!!

    • Ron October 28, 2014 at 10:41 pm

      Hi Bitta,

      Glad to be of help. Thanks for sharing!

  3. Renato Costa October 1, 2014 at 7:03 am

    Here, dont work….

    • Ron October 5, 2014 at 7:39 pm

      Hi Renato Costa,

      I’m sorry to hear that.

Comments are closed.