I believe that everyone is not unfamiliar with phpstudy, you can also use the new PHP Chinese network 2017, the latest "Programmer Toolkit PHP Integration Environment http://tool.php.cn",
Let's take phpstudy as an example of how to configure a multi-version coexistence pphp development environment.
You may be because of multiple projects need PHP version, the program can not be compatible with the PHP version to switch back and forth, this provides my years of experience, hope to help the confused you ....
The version coexistence can be achieved in three steps, as follows:
Step one, switch PHP version
Step two, locate the include conf/extra/httpd-mpm.conf and change the following line to:
LoadModule fcgid_module modules/mod_fcgid.soaddhandler fcgid-script fcgi. Phpinclude conf/extra/ Httpd-php-fcgid53.conf#httpd-php-sapi52.conf
Step three, virtual host configuration, add:
Fcgidinitialenv PHPRC "d:/phpstudy/php56n/" Fcgidwrapper "D:/phpstudy/php56n/php-cgi.exe". php
where "d:/phpstudy/" is replaced by your own Phpstudy installation path.
is not already configured successfully, knocking a standard phpinfo (); Give it a try.
This article is compiled by the PHP Chinese network,
Original address: http://www.php.cn/php-weizijiaocheng-374013.html
Do not like to spray ~ ~ ~