Enable SOAP extension

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
kendhal
Forum Newbie
Posts: 3
Joined: Thu Apr 24, 2008 4:27 pm

Enable SOAP extension

Post by kendhal »

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
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Enable SOAP extension

Post by Benjamin »

I found a document for you that walks you through the process.

http://www.onlamp.com/pub/a/php/2003/07 ... _soap.html
Post Reply