Sometimes, we need to install multiple different versions of PHP environment on the WINDOWS server, or use different php. ini configuration. For example, after using the IONCUBE system of E-commerce network in China to encrypt the PHP program. ini, but this option and the zend encryption program interpreter cannot exist at the same time. If there is another program on the server using ZEND encryption, it is a pity.
If you can install multiple PHP sets on a WINDOWS Server, use different PHP. INI to solve this problem. However, it is troublesome to recompile PHP in a regular way. We have recently studied the success of using another method to Install Multiple PHP:
Install a set of PHP, which is installed 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 automatically 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 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.