How to solve PHP issue with " ini_set() has been disabled for security reasons"? Print

  • 3

Issue:

You may facing error saying that "ini_set() has been disabled for security reasons". You cannot access to your website and sometime you get a lot of error display inside your website.

Reason:

Our server has been tighten its security with more secure rule where we have to disable some of PHP functions.

Solutions:

To solve this issue, you may need to create .htaccess file inside your public_html folder if it is not created yet. If it is already configured, you may need to open the file and key in below line inside:

suPHP_ConfigPath /home/username/public_html/

Please take note that you might need to change the username with your cpanel username.


Was this answer helpful?

« Back