Steps for installing soap extension on the WDCP panel based on PHP5.3/5.4/5.5/-PHP source code

Source: Internet
Author: User
Tags zts
WDCP panel is widely used by linux host users. Today we will take a look at the steps for installing the soap extension on WDCP panel based on PHP5.35.45.5. I hope this article will help you. WDCP panel has been used by many users as linux Hosts. Today, let's take a look at how to install the soap extension for WDCP panel based on PHP5.3/5.4/5.5, I hope this article will help you.

Script ec (2); script

1. Install, upgrade, and confirm the PHP version

If we use the default WDCP version and the official default package is PHP5.2, we usually need to upgrade the PHP version. After all, the processing capability of PHP5.2 is still relatively slow, although we do not need to Upgrade PHP to PhP 7, it takes some time to support the compatibility of PHP 7.

If you need to upgrade the WDCP panel PHP environment, refer to the following article:

In view of this user's actual environment, I installed the default WDCP panel on the local test machine and upgraded it to PHP5.3.17.


Wget http://soft.itbulu.com/wdcp/php_up53.sh
Sh php_up53.sh

This upgrade process may take a little time. In short, we can wait.

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

When entering the soap directory, you should note that if we are using another PHP version, we will enter the corresponding PHP installation directory. If we accidentally delete the PHP installation package, it doesn't matter, go to the PHP official website to download the corresponding package and then click in.

The Code is as follows:

/Www/wdlinux/php/bin/phpize

The Code is as follows:

./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 in the PHP. ini file:

The Code is as follows:

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


3. Restart to take effect soap



Service httpd restart

In this case, the restart takes effect. Let's see if there are soap extensions in the probe.



Iv. Summary of installing soap extension in WDCP


Through the above steps, you can install the SOAP extension in the WDCP panel environment, mainly based on the files in the PHP installation directory, different PHP versions, and then in PHP. you can add a restart server to the 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.