Knowledgebase: Linux Hosting > Cpanel
Website throws --> ini_set() has been disabled for security reasons
Posted by Kumar Ranganathan on 07 August 2012 12:13 PM

 

In Linux Hosting, For security reasons few vulnerable modules & functions are disabled.

To avoid any hosting accounts hacking, we have disabled this function.


For eg. Ini_set() function is essential for Joomla to Run.
Now, to overcome.
Just create a custom php.ini on the websites root folder and add the 2 lines on it.

session.auto_start=off
suhosin.simulation=off

Save it and try refreshing the URL.

 


Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: