[英]The mbstring extension is missing
I'm new to linux. 我是Linux新手。 Installed apache2, mysql-server, php 7.0 and phpmyadmin on my Linux Mint 18.1.
在我的Linux Mint 18.1上安装了apache2,mysql-server,php 7.0和phpmyadmin。 Installation went fine, but localhost/phpmyadmin gives error (see title).
安装进行得很好,但是localhost / phpmyadmin给出了错误(请参见标题)。
Tried: 尝试过:
but neither worked. 但都没有奏效。
I've been restarting Apache as well. 我也一直在重启Apache。
If you have Apache and PHP running correctly, you should install the mbstring extension on PHP and restart Apache: 如果Apache和PHP正确运行,则应在PHP上安装mbstring扩展,然后重新启动Apache:
sudo apt-get install php7.0-mbstring
sudo service httpd restart
Restarting Apache is a step that most people forget about. 重新启动Apache是大多数人忘记的步骤。 Some distributions will restart Apache by themselves when you install any PHP extension, other don't.
当您安装任何PHP扩展时,某些发行版将自行重启Apache,而其他发行版则不会。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.