Introduction to installing the soap module in PHP Linux. First install php is better to retain the files installed at that time, such as my path export1softcdphp-5.1.6extsoapusrlocalphpbinphpize.configure-with-php-configusrlocalph first install php after the best keep the files installed at that time, such as my path/export1/soft
Cd php-5.1.6/ext/soap
/Usr/local/php/bin/phpize
./Configure-with-php-config =/usr/local/php/bin/php-config-enable-soap
Make
Make install
The compiled soap. so file is saved in the/usr/local/php/lib/php/extensions/no-debug-non-zts-20050922 directory.
Modify the php. ini file
Manually modify: find extension_dir = "./" in/usr/local/webserver/php/etc/php. ini "./"
Change to extension_dir = "/usr/local/webserver/php/lib/php/extensions/no-debug-non-zts-20050922 /"
Add the following after this line, and then save:
Extension = "soap. so"
Restart apache. OK, we can see the extended soap module.
If you want to extend other modules, you can do so again. Here are some notes to note: If zend, php. the INI file is under/usr/local/php/etc, but after recompilation, it is played back to/usr/local/php/lib. So pay attention to it.
Cd php-5.1.6/ext/soap/usr/local/php/bin/phpize./configure-with-php-config =/usr/local/ph...