Soap is installed on the server, but the virtual server cannot access it.

Hi,

I have installed SOAP on the server and confirmed it is installed:

php -m | grep -i soap

soap

However, when I try to use SOAP functions in PHP on a particular virtual server, I get an error that SOAP is not installed.

I believe the reason this is happening is because I installed SOAP using command line and it got installed into PHP 5.4.16 but the virtual server is configured to use an alternate php version (5.5.21) so the alternate version is no "seeing" SOAP.

How can I enable SOAP for this virtual server?

Status: 
Closed (fixed)

Comments

Howdy -- ah, yeah they key would be to install SOAP in your alternate PHP version.

How did you install that alternate version?

Gotcha -- try installing this package here:

yum install php55-php-soap

That should install the proper SOAP package for that install.

After that, is your application able to use the PHP SOAP module?

That worked. Is there any documentation about this?

We don't have any documentation specific to those particular repositories. If you need to install packages from those repositories though, you can see the full list for the one you installed here:

http://mirror.centos.org/centos/7/sclo/x86_64/rh/php55/

Or, you can run "yum search php55" on the command line.

Thanks. you can close this ticket.

Status: Active ยป Fixed