我是 ubuntu/linux 系统的新手。我正在尝试安装 phpmyadmin,但出现以下错误。
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
phpmyadmin : Depends: php5-mysql but it is not going to be installed or
php5-mysqli but it is not installable
Recommends: php5-gd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我尝试过跑步apt-get install dist-upgrade
,sudo apt-get -f install
但没有帮助。
我已经安装了阿帕奇2和php5和mysql
有朋友可以帮忙解决这个问题吗
提前致谢
答案1
在安装 phpmyadmin 之前,您是否安装了 PHP?请确保您有某种 Web 服务器软件(例如 Apache2)以及正在运行的 PHP前尝试安装 phpmyadmin。phpmyadmin 不是独立软件,而是依赖其他软件的功能来实现其功能。最重要的是,请确保在安装 phpmyadmin 之前也安装了 MySQL。
由于您是网络托管新手,也许您应该安装一个包含所有内容的软件包。查看http://vestacp.com一个包含您所需一切的出色套餐。安装非常简单,您可以立即开始托管。