image description
Web hosting FAQ & Knowledge base

Knowledge Base Articles

PHP Errors: Warning: ini_set() <or any other function> 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

Hosted websites for 17,033,124 users all over the world!

  • php
  • my sql
  • intel
  • cloudlinux
  • nginx
  • cloudflare
  • wordpress
  • 24/7 Live Support
  • Easy Website Builder
  • 2X WordPress Optimized Speed
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
$ 1
95
/mo
$11.97
$5.85 for 3 months
Save 51%
Get started