Warning: ini_set() has been disabled for security reasons

Ini_set has been disable serverwide. If you need to enable ini_set in your site, you need to tweak php.ini file. You will know by seeing this: "Warning: ini_set() has been disabled for security reasons ..."

If you do not have a copy of the php.ini file in your site, you may download from here. Once you have a copy of the php.ini file, check if the commandline "disable_functions = " is like this:

     disable_functions = show_source, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, ini_set

Delete "ini_set" from the line and save; then upload the file in the directories where the scrips are being called.


For Joomla template, you need to have php.ini files in the home directory and administrator folder. In case you see the error during the installation, include the php.ini also in the /installation folder.

  • 218 Users Found This Useful
Was this answer helpful?

Related Articles

Thumbnails not working

Thumbnails in my website were working before or don't seem to work The permission of the...

Can't access my webmail: internal server error and over quota

It means that the storage of mails in the mail box exceeded the limit. So, make the size of the...

Is my IP blocked by the server? Traceroute

To find out if your IP is being blocked by the server, try to find out first what your IPis by...

500 Internal Server Error

Due to PHP server configuration, compiled as CGI, certain rules should be followed like all...

How to Unblock IP from Client Area - Check if your IP or your client's IP is Blocked

So if you find that you can visit the world wide web "EXCEPT" your web site, your webmail,...