Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having trouble getting SOAP installed on my webserver. I am using SUSE Linux and I have PHP 5.2.6.

I've tried apt-cache search php-soap but I am not getting anything. When I try apt-cache search soap, I get 3 packages libsoup, libsoup-2_4-1-32bit and libsoup-2_4-1.

I'm trying to get the line --enable-soap into my php config file as well. When I try to install it, I get an error "Couldn't find package php-soap".

My php.ini file has

; Enables or disables WSDL caching feature.
; Sets the directory name where SOAP extension will put cache files.
; (time to live) Sets the number of second while cached file will be used 
; instead of original one.
share|improve this question

migrated from Oct 27 '12 at 0:11

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted

Soap support is available natively in PHP 5.2.6. Do a phpinfo() and see if you can find the below info (Of course based on your installation some data, like path might be different):

enter image description here

If you do not have this, you will need to edit php.ini and enable corresponding SO/DLL files.

Open your php.ini file and check for this line: ;extension=php_soap.dll (will be .so in linux boxes)

If there is a ; in front of the line, remove it and save the file. Restart apache, and check phpinfo() once again.

share|improve this answer
I dont see it on there. I know through searching that there is a file located at – user Oct 26 '12 at 20:00
where in php.ini do I have to add enable soap? – user Oct 26 '12 at 20:05
@user: updated answer.. – Raidenace Oct 26 '12 at 20:16
I dont see the line, there is however an extension_dir=/path/name line. That holds a bunch of .so files. Cant I get a file and place it in there? – user Oct 26 '12 at 20:32
You will first need to add the .so file to that dir. Then in php.ini you will need to add the line extension = – Raidenace Oct 26 '12 at 20:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.