phpmyadmin ( Deprecation Notice i .. )

#1

Deprecation Notice in ./…/php/php-gettext/streams.php#48
Methods with the same name as their class will not be constructors in a future version of PHP; StringReader has a deprecated constructor

Backtrace

./…/php/php-gettext/gettext.inc#41: require()
./libraries/select_lang.lib.php#477: require_once(./…/php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)


แก้ยังไงให้หายขาดถาวรครับ
ตอนนี้ใช้คำสั่งนี้แก้ แต่ก็ได้แค่แค่ชั่วคราว

sudo apt-get remove --purge phpmyadmin php-gettext php-mbstring -y
sudo apt-get autoremove -y
sudo apt-get update
sudo apt-get install phpmyadmin php-gettext php-mbstring -y

0 Likes