Warning phpmyadmin

Sentry

New member
Joined
May 30, 2016
Messages
1
Warning*in ./libraries/common.inc.php#107
*ini_set() has been disabled for security reasons

Backtrace

./libraries/common.inc.php#107: ini_set(
string 'default_charset',
string 'utf-8',
)
./js/get_scripts.js.php#27: require_once(./libraries/common.inc.php)


When opening phpmyadmin I see this every time.

What could this be?

MvG
Sendry
 
When opening phpmyadmin I see this every time.

What could this be?

MvG
Sendry

MvG,

You or whoever setup your server probably followed basic rules and recommendations of CSF&lfd to add disable_functions = to your php.ini.

So, ssh to your box with sudo listed account or su - if you have root and edit php.ini file.

vi /usr/local/lib/php.ini
search for string ini_set and you'll find it under disable_functions line. remove just ini_set and save the file

CentOS 6.x
service httpd restart (root)
sudo service httpd restart (admin sudo user)

CentOS 7.x
systemctl restart httpd.service (root)
sudo systemctl restart httpd.service (admin sudo user)

Refresh phpMyAdmin and all good :)
 
Back
Top