在本地做好的程序到服务器上跑不了,打印错误信息:Fatal error: Class ‘SoapClient’ not found in
看样子PHP5不支持 SOAP模块,打印phpinfo(),Configure Command–enable-soap=shared’ ,下面没显示SOAP模块的配置,ssh执行”#yum search soap |grep soap” 显示:”php-soap.i386:A module for php applications that use the sopa protocol”
然后执行#yum install php-soap
安装成功,刷洗phpinfo(),显示了SOAP模块配置
Soap Client enabled
Soap Server enabled
看样子PHP5不支持 SOAP模块,打印phpinfo(),Configure Command–enable-soap=shared’ ,下面没显示SOAP模块的配置,ssh执行”#yum search soap |grep soap” 显示:”php-soap.i386:A module for php applications that use the sopa protocol”
然后执行#yum install php-soap
安装成功,刷洗phpinfo(),显示了SOAP模块配置
Soap Client enabled
Soap Server enabled