Installing the SOAP module extension method in PHP

Source: Internet
Author: User
Tags zts
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.

  • 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.