Sometimes, we need to install several different versions of the PHP environment in the Windows Server, or adopt different php.ini configuration, for example, after encrypting the PHP program using the Ioncube system of China e Business Network, To set the load selection in php.ini, this option and the Zend Cryptographic interpreter cannot exist at the same time, which is a pity if there is another program in the server that uses Zend encryption.
If you can load multiple sets of PHP in a Windows server, you can solve this problem by using different php.ini. However, if you use the normal method to recompile PHP, more trouble. We have recently been successful in a different way of installing multiple PHP:
First install a set of PHP, the default way, installed in c:php, after installation, php.ini generally automatically copied to c:winnt under.
Copy the php.ini under Winnt to c:php under CTRL + C and CTRL + V, at which point you can use Phpinfo () to view the php.ini path, which has automatically become C:/php/php.ini.
Next, you can install a second set of PHP, preferably a disk, installed in d:php, installation, PHP will php.ini copy in the C:winnt, as long as the same copy to the d:php under the next can be.
Then, in the IIS-> home directory-> configuration, you can specify different PHP run files for different sites.
Using this method to install two sets of PHP, no special impact on the system resources, after testing, the system runs normally.