Home > Backend Development > PHP Tutorial > Install multiple sets of PHP_PHP tutorial on WINDOWS server

Install multiple sets of PHP_PHP tutorial on WINDOWS server

WBOY
Release: 2016-07-13 17:11:30
Original
838 people have browsed it

Sometimes, we need to install multiple different versions of PHP environments in the WINDOWS server, or use different php.ini configurations. For example, after using the IONCUBE system of China E-Business Network to encrypt the PHP program, you need to configure it in php.ini Set the loading option, but this option and the zend encryption program interpreter cannot exist at the same time. It would be a pity if there is another program in the server that uses ZEND encryption.
If you can install multiple sets of PHP in the WINDOWS server and use different PHP.INI, you can solve this problem. But if you use the formal method to recompile PHP, it will be more troublesome. We have recently successfully researched and used another method to install multiple PHPs:
First install a set of PHP, using the default method, installed in c:php. After installation, php.ini is usually automatically copied to c:winnt. .
Use Ctrl+c and Ctrl+V to copy php.ini under winnt to c:php. At this time, you can use PHPINFO() to view the path of php.ini, which has automatically changed to c:/php/ php.ini.
Then, you can install the second set of PHP. It is best to change the disk and install it in d:php. During installation, PHP will copy php.ini to c:winnt. Just copy it to d:php in the same way. Just download it.
Then, in IIS -> Home 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.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629592.htmlTechArticleSometimes, we need to install multiple different versions of PHP environments in the WINDOWS server, or use different php. ini configuration, for example, using the IONCUBE system of China E-Business Network to encrypt PHP programs...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template