yum --enablerepo=remi,epel install php-gd没有php软件包可用。
root@hostname [~]# yum --enablerepo=remi install php-gd --verbose
Loading "fastestmirror" plugin
Loading "security" plugin
Config time: 0.042
Yum Version: 3.2.29
Setting up Package Sacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.crucial.com.au
* epel: mirror.optus.net
* extras: centos.mirror.crucial.com.au
* remi: remi.kazukioishi.net
* updates: centos.mirror.crucial.com.au
pkgsack time: 4.430
rpmdb time: 0.000
Setting up Install Process
Checking for virtual provide or file-provide for php-gd
No package php-gd available.
Error: Nothing to do
root@hostname [~]#有人能解释为什么一个可用的包没有被取走吗?
发布于 2014-05-12 05:35:50
这不是Centos/Linux/Yum问题。
要在cPanel上启用PHP,您必须通过cPanel的WHM接口并通过以下菜单启用它:
家庭>软件> EasyApache (Apache )
并在“详尽的备选方案清单”上启用全球司模块。
然后,cPanel将使用更新的模块重建。
发布于 2014-05-14 14:05:49
你可以用这个回购,它会工作的。
CentOS name=CentOS baseurl=http://mirror.centos.org/centos-6/6.5/os/x86_[64] enabled=1 gpgcheck=1 gpgkey=http://mirror.centos.org/centos-6/6.5/os/x86_64/RPM-GPG-键-CentOS-6
我想你没有配置好的包。如果您在pkgs.org上看到包,这并不意味着您的回购包含它。您必须检查存储库中的url。( baseurl的链接-在我的示例中)
https://serverfault.com/questions/594455
复制相似问题