WDCP Panel Install SOAP extension step based on php5.3/5.4/5.5

Source: Internet
Author: User
Tags ini soap php website versions zts

First, install, upgrade, and determine the PHP version

If we are using the WDCP default version, the official default package is PHP5.2, we certainly need to upgrade the PHP version, after all, PHP5.2 processing information capacity is relatively slow, although we do not require upgrades to PHP7, after all, support 7 version of the program compatibility will take some time.

Here if we need to upgrade the WDCP panel PHP environment, you can refer to the article:

In view of the user's actual environment, I upgraded to the PHP5.3.17 version after installing the default WDCP panel in the local test machine.


wget http://soft.itbulu.com/wdcp/php_up53.sh
SH php_up53.sh

The upgrade process may take a little time, but we can wait.

Second, install the SOAP extension process

Here we can see that the root directory has a php-5.3.17 folder after upgrading to the PHP version based on the first step above.



CD php-5.3.17

CD Ext/soap

Into the SOAP directory, the problem here is that if we are other versions of PHP, we will enter the corresponding PHP installation directory, if we accidentally delete the PHP installation package, it does not matter, go directly to the official PHP website download the corresponding package and then come in.
The code is as follows Copy Code

/www/wdlinux/php/bin/phpize

The code is as follows Copy Code

./configure--with-php-config=/www/wdlinux/php/bin/php-config--enable-soap
Make
Make install


Here we need to leave this section:


/www/wdlinux/apache_php-5.3.17/lib/php/extensions/no-debug-non-zts-20090626/

Then we add the file code to the php.ini file:

The code is as follows Copy Code

Extension=/www/wdlinux/apache_php-5.3.17/lib/php/extensions/no-debug-non-zts-20090626/soap.so


Third, restart effective soap



Service httpd Restart

This reboot takes effect, so let's see if there is a SOAP extension in the probe.



iv. WDCP Installation SOAP Extension Summary


With the above steps, it is easy to install the SOAP extensions in the WDCP panel environment, mainly based on the files compiled in the PHP installation directory, different versions of PHP, and then add the restart server in the php.ini file to take effect.

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.