Installing the SOAP module method in PHP
First, install the SOAP module under Linux
After installing PHP, it is best to keep the files that were installed, such as usr/local/php-5.3.2
To see if the SOAP module is installed: Run php-m in the PHP installation directory to view
such as:/usr/local/php/bin/php-m |grep ' soap '
If not installed, go to the installation source folder of PHP
After the CD Php-5.3.2/ext/soap enters, run the phpize command here/usr/local/php/bin/phpize
To see if there is an error in the information, run the following command without error:
./configure with-php-config=/usr/local/php/bin/php-config? enable-soap
Then install the build
Makemake Install
After installation, you will be prompted to save the path to the soap.so file
The compiled soap.so file is saved in the/usr/local/php/lib/php/extensions/no-debug-non-zts-20111222 directory, and then the php.ini file is modified
Manual modification: Find Extension_dir = "./" in/usr/local/php/etc/php.ini, which is commented out by default
Modified to Extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20111222/"
And after this line, add the following, and then save:
Extension=soap.so
To restart Apache, you can already see the extended SOAP module running PHP-M.
If you also want to install the extension module, you can do so.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.