安装Soap for Magento安装工作

时间:2015-09-22 16:02:38

标签: php magento soap

我正在尝试新安装的Magento但由于未安装SOAP而无法通过初始设置。 我们有一个专用的服务器 CentOS 6.7(最终版) 我试过命令yum install php-soap

但获得以下

[root@s16030606 ~]# yum install php-soap
Loaded plugins: fastestmirror, priorities
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: mirror.23media.de
Resolving Dependencies
--> Running transaction check
---> Package php-soap.x86_64 0:5.3.3-46.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-soap-5.3.3-46.el6_6.x86_64
--> Finished Dependency Resolution
Error: Package: php-soap-5.3.3-46.el6_6.x86_64 (updates)
           Requires: php-common(x86-64) = 5.3.3-46.el6_6
           Installed: php-common-5.4.28-34.el6.art.x86_64 (@atomic)
               php-common(x86-64) = 5.4.28-34.el6.art
           Available: php-common-5.3.3-40.el6_6.x86_64 (base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (updates)
               php-common(x86-64) = 5.3.3-46.el6_6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我已经尝试过sudo clean all 然后sudo yum update。

我查看了网上的各种帖子,看不到真正的解决方案。你能帮忙吗?

3 个答案:

答案 0 :(得分:1)

您正在使用来自其他仓库的PHP 5.4.28,但尝试从CentOS 6 repo(PHP 5.3.3)安装php-soap。

您用于5.4的外部仓库可能没有soap包。您可以查看yum list "php-soap*"可用的内容。

如果该回购没有,您可以尝试从其他来源安装RPM:http://google.com/?q=php-soap+5.4.28+rpm

答案 1 :(得分:1)

我在使用SOAP 5.6时出现了问题。默认安装为5.4,需要删除以前的版本。

# rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
# yum erase php-common-5.4.16-36.el7_1.x86_64
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
# yum update
# yum clean all
# yum install -y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl php56w-mbstring

您可以替换所需的版本。我希望这会对你有所帮助

答案 2 :(得分:0)

好的,我已根据我的情况对其进行了整理。 我跟随AVERUN上面的解决方案到一定程度,因为它似乎使我有点瘫痪,因为我丢失了Plesk面板并且网站出现故障。我调用1and1重新启动并运行诊断。他们这样做,apache重新启动,一些PHP扩展更新为1和1。 但随后我做了以下内容,因为php mcrypt现在也不见了

yum install php56w-mcrypt

yum安装php56w-soap

由于AVERUN以及1和1的帮助,这似乎已经为我解决了。