
phpMyAdmin 사용시 아래와 같은 에러메세지가 수도없이 보여 사용하기 불편할때가 있다.
아마도 PHP 버전업으로 인해서 이런현상이 발생한다고 생각한다.


이럴때 해결 방법은 다음과 같다.
sudo pluma /usr/share/php/php-gettext/streams.php 수정
Line 48 StringReader 에러의 경우
52번 라인의 function 이름을 __construct 로 수정
function StringReader ($str='') >>> function __construct($str='')89번 라인의 function 이름을 __construct 로 수정
function FileReader($filename) >>> function __construct($filename)
Line 145 CacheFileReader 에러의 경우
146번 라인의 function 이름을 __construct 로 수정
function CachedFileReader($filename) >>> function __construct($filename)
sudo pluma /usr/share/php/php-gettext/gettext.php 파일 수정
Line 36 gettext_reader 에러의 경우
101번 라인의 function 이름을 __construct 로 수정
function gettext_reader($Reader, $enable_cache = true) >>> function __construct($Reader, $enable_cache = true)

0 좋아요
1 답글
588 조회