HI all,

I am trying to enable SOAP on my linux box with php 5.1.6. I have loaded up phpinfo() and it does not mention Soap in there. All the modules (mysql, imap, ladap etc....) have their own .ini files under /etc/php.d so I went ahead and created one for soap (soap.ini) that contains "extension=php_soap.so". When I run "php -m" I get the following error:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/php_soap.so' - /usr/lib/php/modules/php_soap.so: cannot open shared object file: No such file or directory in Unknown on line 0

Below are the results of "# rpm -qa | grep -i php"
php-common-5.1.6-15.el5
php-cli-5.1.6-15.el5
php-pdo-5.1.6-15.el5
php-odbc-5.1.6-15.el5
php-imap-5.1.6-15.el5
php-ncurses-5.1.6-15.el5
php-pear-1.4.9-4
php-xml-5.1.6-15.el5
php-xmlrpc-5.1.6-15.el5
php-mysql-5.1.6-15.el5
php-pgsql-5.1.6-15.el5
php-5.1.6-15.el5
php-ldap-5.1.6-15.el5
php-snmp-5.1.6-15.el5
php-devel-5.1.6-15.el5
php-mbstring-5.1.6-15.el5
php-gd-5.1.6-15.el5
phpMyAdmin-2.11.5-1.gdg
phpPgAdmin-4.1.3-1.gdg

Obviously I don't have Soap installed/configured but my question is that were do I go about getting the soap module and how/where do I install it on the server? Any help would be greatly appreciated. Thanks!
KD

    Well for one, on the [man]soap.setup[/man] manual page, I note this:

    PHP Manual wrote:

    Requirements

    This extension makes use of the » GNOME xml library. Download and install this library. You will need at least libxml-2.5.4.

    So, I guess the first question would be: Do you have libxml-2.5.4 or greater installed?

    Next, if you didn't originally build PHP with SOAP, you probably need to re-download the installation package and add "--enable-soap" to the ./configure command (as stated on: [man]soap.installation[/man]).

      Write a Reply...