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.

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

cPanel: Change PHP Version via MultiPHP Manager

You can assign specific PHP version for your website, or change it to a newer PHP version to...

cPanel: Change PHP Version via Select PHP Version

With Select PHP Version (also known as PHP Selector), you can change PHP version and enable...

SolidCP & MSPControl: Creating website

Please follow the steps below to create your website.1. Log in to your hosting control panel at...

SolidCP & MSPControl: Set website default first page

The default page is the first page that will be display when a user visit your website.Please...

SolidCP & MSPControl: Point domain aliases

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