Home  >  Article  >  Backend Development  >  Introduction to installing soap module under PHP Linux_PHP tutorial

Introduction to installing soap module under PHP Linux_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:41:47780browse

First, after installing php, it is best to 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

Manual modification: Find extension_dir = "./" in /usr/local/webserver/php/etc/php.ini

Modify it to extension_dir = "/usr/local/webserver/php/ lib/php/extensions/no-debug-non-zts-20050922/"

and add the following after this line, then save:
extension = "soap.so"

Restart apache, ok we can already see the extended soap module.

If you want to extend other modules, you can do it all at once. There is another point to note here. If you do zend, the php.ini file is under /usr/local/php/etc, but we need to re- After compilation, it is played back to /usr/local/php/lib. So something to note here.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/486095.htmlTechArticleFirst of all, after installing php, it is best to 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/ph...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn