Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Warning: ini_set() has been disabled for security reasons

Tags:

php

How to solve like this problem at my server (Live server).

Warning: ini_set() has been disabled for security reasons in /home/blessin1/public_htm

like image 820
V.J.SIVA Avatar asked Dec 04 '15 06:12

V.J.SIVA


Video Answer


2 Answers

If you have access to your php.ini file look for the disable_functions item and remove ini_set from the list. Depending on your server setup you may also need to restart Apache for this to take effect.

If you do not have access to php.ini you will need to ask your Sys Admin or hosting provider to make the change.

like image 148
QuantumTiger Avatar answered Sep 29 '22 18:09

QuantumTiger


happened to one website recently, i solved it by changing from ea-php73 to alt-php74. big speed improvements too. Turns out the hosting's 7.3 default php setup has issues.

like image 20
Error Messages Avatar answered Sep 29 '22 19:09

Error Messages