LoginSignup
1
1

More than 5 years have passed since last update.

PHP7でphpMyadminの設定につまずく

Posted at

環境

  • OS: Ubuntu 14.04 LTS
  • Web Server: Apache 2.4.7
  • PHP: PHP 7.0.6-6+donate.sury.org~trusty+1 (cli) ( NTS )

問題

PHP7でphpMyadminを使おうとしたら、

localhost ページは機能していません
localhost では現在このリクエストを処理できません。
HTTP ERROR 500

とエラーが表示された。

エラーログを確認。

cat /var/log/apache2/error.log

...
[Wed May 11 22:13:47.598181 2016] [:error] [pid 3388] [client ::1:36156] PHP Fatal error:  require_once(): Failed opening required './libraries/php-gettext/gettext.inc' (include_path='.:/usr/share/php') in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 395

php-gettextがないと怒られているようだ。PHP7ではphp-gettextがデフォルトではインストールされないそう。

解決策

ということで、

sudo apt-get install php-gettext

で解決。

参考文献

  1. phpmyadmin symlinks error after ubuntu upgrade
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1