我在Centos上安装了带有rpm文件的php-soap,但是不起作用

我从RPM文件在我的Centos服务器上安装了php-soap。 然后,我重新启动httpd服务,但不工作的SOAP客户端。

当我得到:

yum list installed 

在这里列出的PHP肥皂:

 php.i386 5.3.6-1.w5 installed php-cli.i386 5.3.6-1.w5 installed php-common.i386 5.3.6-1.w5 installed php-devel.i386 5.3.6-1.w5 installed php-gd.i386 5.3.6-1.w5 installed php-imap.i386 5.3.6-1.w5 installed php-mbstring.i386 5.3.6-1.w5 installed php-mysql.i386 5.3.6-1.w5 installed php-pdo.i386 5.3.6-1.w5 installed php-pear.noarch 1:1.4.9-6.el5 installed php-soap.i386 5.2.17-1.el5.art installed php-xml.i386 5.3.6-1.w5 installed 

在php.ini文件中有SOAP选项,在扩展名dir中有soap.so。 但是在phpinfo页面上没有出现任何SOAP选项。 (只有在ini文件中列出的soap.ini)

我能做些什么来启用SOAP扩展?

检查soap.ini并确认列出的* .so文件没有被注释。 如果删除; infront的extension=...并重新启动您的web服务器apachectl restart

更新看来你已经安装了php 5.2 SOAP到一个PHP 5.3不应该一起工作。 尝试安装5.3.x SOAP。