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 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

Browse a website with hosts file

During server migration or transfer, you might want to test your websites in new server to ensure...

SolidCP & MSPControl: Enable AWStats on your website

Please follow the steps below to add and view your website statistics.1. Log in to your hosting...

Why Use Latest PHP Versions

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

SolidCP & MSPControl: Changing web extensions

Please follow the steps below to change your website extension.1. Log in to your hosting control...

cPanel: Redirect URL

URL direction, also known as URL forwarding allows you to redirect your website traffic from one...