我通过编译文件在/usr/local中安装了apache2和php。
我通过以下命令安装了mysql和phpmyadmin:
sudo apt-get install mysql-server
sudo apt-get -y install phpmyadminPhpmyadmin没有运行,如下所示:
The mysqli extension is missing. Please check your PHP configuration. <a href="Documentation.html#faqmysql" target="documentation"><img class="icon" src="./themes/pmahomme/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" /></a>但是我用--mysqli安装了php:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-maintainer-zts --with-mysqli发布于 2016-03-13 01:38:44
您只需键入此命令,该命令将启用扩展mysqli,然后重新启动apache2服务器。这将帮助您的服务器工作:
sudo apt-get install php5-mysqlnd
sudo service apache2 restart发布于 2015-09-08 09:04:32
用命令
./configure …你什么都没安装。您已经配置了一个源包,仅此而已。
要安装和使用分机,请执行以下操作:
sudo apt-get install php5-mysql但最简单的方法是
sudo apt-get install phpmyadmin因为包php5-mysql是phpmyadmin的依赖项
最后重新启动apache2
sudo service apache2 restarthttps://askubuntu.com/questions/671629
复制相似问题