I am trying my absolute best to install SOAP on PHP 5.

I have set my "extension_dir=/phpext/"

I have set "extension=php_soap.dll" in Dynamic Extensions

I have since found out that I should be using the file "php_soap.so" as I am running on Linux.

Problem is... I can't seem to find that file anywhere.

Please... SOME ONE HELP!

... You'll excuse me if I seem impatient, but I have been on this for days.

    if you have a yum based update system try this command:

    yum install php_soap

      if you have an apt-get based system use

      sudo apt-get install php-soap

        scrupul0us wrote:

        what linux distro are you using?

        Not got a clue... What is that?

          markg85 wrote:

          if you have a yum based update system try this command:

          yum install php_soap

          root@webserver [/usr/local/lib]# yum install php_soap
          Setting up Install Process
          Setting up repositories
          update 100% |=========================| 951 B 00:00
          base 100% |=========================| 1.1 kB 00:00
          addons 100% |=========================| 951 B 00:00
          extras 100% |=========================| 1.1 kB 00:00
          Reading repository metadata in from local files
          Excluding Packages in global exclude list
          Finished
          Parsing package install arguments
          No Match for argument: php_soap
          Nothing to do

            scrupul0us wrote:

            if you have an apt-get based system use

            sudo apt-get install php-soap

            root@webserver [/usr/local/lib]# sudo apt-get install php-soap
            sudo: apt-get: command not found

              hmm.. try it with a normal stripe 😛
              yum install php-soap

              if that isn`t working try:

              yum search php-soap or: php soap or php_soap

              good luck 😛

                discostudio wrote:

                Not got a clue... What is that?

                distro... version... like:

                Ubuntu
                Slackware
                Redhat
                Fredora
                etc.....

                  markg85 wrote:

                  hmm.. try it with a normal stripe 😛
                  yum install php-soap

                  if that isn`t working try:

                  yum search php-soap or: php soap or php_soap

                  good luck 😛

                  None of those worked. I have done everything I can find on the net. ANy other ideas.

                    discostudio wrote:

                    None of those worked. I have done everything I can find on the net. ANy other ideas.

                    yes, tell us what build of linux you are using

                    or even better

                    do this:

                    test.php

                    <?php
                    phpinfo();
                    ?>
                    

                    and give us a link to that file on your server... then we can definitely help you

                      yum list install php-soap works for me.. i have Fedora Core 6.

                        scrupul0us wrote:

                        yes, tell us what build of linux you are using

                        or even better

                        do this:

                        test.php

                        <?php
                        phpinfo();
                        ?>
                        

                        and give us a link to that file on your server... then we can definitely help you

                        [link deleted per OP's request ~ MOD]

                          ok so right there that tells me that you will have to recompile php with soap.. right now yours is compiled with:

                          './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-zlib'
                          

                          you'll have to download the source package from php.net and install it... now here are some brief instructions

                          http://us3.php.net/manual/en/install.unix.php#install.unix.apache

                          you can skip steps 1,2,5,6,7,8 since those are for installing apache...

                          step 10 shows how to configure php... what youll want todo is:

                          ./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-zlib [B]--enable-soap[/B]
                          

                          then follow the rest of the php installation procedure...

                          it know this is kinda rough but it should get you going

                            you might be able to reconfigure your current install to just enable it... but im not sure how that goes

                              4 years later

                              all of these answers is for host admin.
                              but if our app hosted on a remote server, we can not run commands.
                              can any one show any resource for downloading soap.so for any php version or even 5.2.4(i am using now)?

                                hrezaei;10969446 wrote:

                                can any one show any resource for downloading soap.so for any php version or even 5.2.4(i am using now)?

                                Not really, no, since the .so file is going to be compiled on a system that might not be exactly like the one you're on.

                                  Write a Reply...