How to install the soap module extension in PHP

Source: Internet
Author: User
Tags zts
How to install the soap module in PHP: how to install the soap module in PHP
1. install the soap module in Linux
After installing php, it is best to keep the files installed at that time, such as usr/local/php-5.3.2
To check whether the soap module is installed, run php-m in the php installation directory.

For example:/usr/local/php/bin/php-m | grep 'Soap'
If no installation is available, go to the php installation source folder.

Cd php-5.3.2/ext/soap enter and then run phpize command/usr/local/php/bin/phpize


Check whether the information has an error. if there is no error, run the following command:
./configure ?with-php-config=/usr/local/php/bin/php-config ?enable-soap

Then install and compile
makemake install


After installation, a message is displayed, indicating the path to save 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.
Manually modify: Search for extension_dir = "./" in/usr/local/php/etc/php. ini. it is commented out by default.
Change to extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20111222 /"
Add the following after this line, and then save:
extension=soap.so

Restart apache and run php-m to view the extended soap module.
If you want to install extension modules, you can do so.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.