Alternative solutions for installing multiple PHP sets on WINDOWS Servers

Source: Internet
Author: User
Tags ioncube
Sometimes, we need to install multiple different versions of PHP environment on the WINDOWS Server, or use different php. ini configuration. for example, after the IONCUBE system of China E-commerce network is applied to encrypt the PHP program. ini, but this option

Sometimes, we need to install multiple different versions of PHP environment on the WINDOWS Server, or use different php. ini configuration. for example, after the IONCUBE system of China E-commerce network is applied to encrypt the PHP program. ini, but this option and the zend encryption program descriptor cannot exist at the same time. if there are other programs on the server using ZEND encryption, it would be a pity.

If you can install multiple PHP sets on a WINDOWS Server, you can apply different PHP. INI sets to solve this problem. However, if you use a formal method to re-compile PHP, it is more troublesome. We have recently studied the success of using another method to install multiple PHP:

First install a set of PHP and install it in c: php by default. after installation, php. ini is automatically copied to c: winnt.

Set the php. ini is copied to c: php using Ctrl c and Ctrl V. you can use PHPINFO () to view php. the ini path has been changed to c:/php. ini.

Next, you can install the second PHP set. you 'd better change the disk and install it in d: php. during installation, PHP will change the php. ini is copied to c: winnt, as long as it is copied to d: php.

Then, in IIS-> Main Directory-> configuration, you can think that you can specify different PHP running files for different sites.

After using this method to install two sets of PHP, there is no special impact on system resources. after testing, the system runs normally.

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.