Submitted by responsiveny on Mon, 12/05/2016 - 17:23
Hi,
I have installed SOAP on the server and confirmed it is installed:
php -m | grep -i soapsoap
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
Submitted by andreychek on Mon, 12/05/2016 - 17:52 Comment #1
Howdy -- ah, yeah they key would be to install SOAP in your alternate PHP version.
How did you install that alternate version?
Submitted by responsiveny on Mon, 12/05/2016 - 20:00 Comment #2
i followed the instructions here:
Installing php 5.5 on centos 7. https://www.virtualmin.com/documentation/web/multiplephp
For each domain I can choose to use 5.4 or 5.5
If I run php -v on the command line as root, it's 5.4.
Submitted by andreychek on Mon, 12/05/2016 - 20:37 Comment #3
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?
Submitted by responsiveny on Tue, 12/06/2016 - 10:21 Comment #4
That worked. Is there any documentation about this?
Submitted by andreychek on Tue, 12/06/2016 - 10:41 Comment #5
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.
Submitted by responsiveny on Tue, 12/06/2016 - 11:35 Comment #6
Thanks. you can close this ticket.
Submitted by JamieCameron on Tue, 12/06/2016 - 17:10 Comment #7