image description
Web hosting FAQ & Knowledge base

Knowledge Base Articles

PHP Errors: Warning: ini_set() has been disabled for security reasons

You can get this or any similar error by running a PHP script, because the desired function is considered to be dangerous, so it is disabled on main PHP configuration.

We have disabled most insecure PHP functions and are unable to allow them for any specific users due to potential security issues.

To remove this warning, edit your PHP script and remove the entire line where the disabled function is mentioned or insert this line on the top of PHP script:

error_reporting(0);


Go back
Hostinger logo
Limited time offer. From $1.99/month
:
:
:
Get started
keyboard_arrow_up Swipe Up
Hostinger logo

Limited time offer

80% OFF

From $1.99/month

Get Hostinger’s Fast & Secure Web Hosting with an SSL Certificate for FREE!

:
:
:
Get started now
Close