Warning: ini_set() has been disabled for security reasons

Warning: ini_set() has been disabled for security reasons
During some script installation below error might occurs during / after the installation.

Warning: ini_set() has been disabled for security reasons in /pathtotherootfoler/somefolder/somefile.php on line xx

It indicates the ini_set function has been disabled in the server, most script shall still run without the ini_set function.

Locate the file from the error message and goto the specified line , add a @ symbol in front of the line to comment out the line and save changes.

There might be a few lines in the same file which contains the ini_set function , you can browse to the file and search ('Ctrl + F in your keyboard')  the word ini_set and add @ symbol in front of the line.

  • 4 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

SolidCP & MSPControl: Enable HTTPS for Windows hosting

HTTPS protocol is a standard security technology used to establish an encrypted link between a...

Why Use Latest PHP Versions

Each PHP version has lifespan, in which is actively supported within certain period of time after...

SolidCP & MSPControl: Point domain aliases

Please follow the steps below to point your domain aliases to an existing domain.1. Log in to...

PHP 5.4 has Deprecate the Function SESSION_REGISTER()

The PHP function SESSION_REGISTER() has been deprecated as of PHP version 5.4.Instead, use the...

PHP Fatal error: Cannot redeclare quoted_printable_encode()

When encounter the following PHP error:PHP Fatal error:  Cannot redeclare...