我即将phpmyadmin在 Ubuntu 16.04上使用。但是它显示该页面不起作用。错误日志说error 500
PHP Fatal error: require_once(): Failed opening required '/usr/share/php/php-gettext/gettext.inc' (include_path='.:/usr/share/php') in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 477
Run Code Online (Sandbox Code Playgroud)
起初它说mysqli|mysql缺少扩展名。但在失眠的几个小时后,我忘记了我对它做了什么。我正在使用 php7。
更新后,mysql/phpmyadmin 停止工作。当我做:
sudo dpkg-reconfigure phpmyadmin
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
An error occurred while installing the database:
?
? mysql: [Warning] mysql: Empty value for 'port' specified. Will throw an
? error in future versions ERROR 1045 (28000): Access denied for user
? 'root'@'localhost' (using password: YES) .
Run Code Online (Sandbox Code Playgroud)
在我看来,我需要在一些配置文件中指定端口,但我不知道在哪里?
尝试在 Ubuntu 上使用 安装此软件包sudo apt-get install libapache2-mod-auth-mysql,但我在标题中收到消息。为什么以及如何修复它?