This article mainly introduces the Phpstudy PHP version of the free modification method, the need for friends can refer to the following
Online has a lot of web site integration software, more famous there are wamp,xampp,phpstudy and so on
Now let's talk about the PHP version of Phpstuy free switch
Install download and so on Don't say, http://www.phpstudy.net/official website has, very simple
Look at the interface, software, the author of the software is actually very user-friendly, you can choose PHP version, as follows:
You can also upgrade (but, say, upgrade, rather than replace), private custom, you know
The software has a very detailed description of the document, I will not say more
Now the play, in Php7 out, or later PHP out, the software can not be upgraded correctly , this can not blame the author, after all, the software is written before PHP7 (of course, the author has now updated, support PHP7)
This time, we can only be self-reliant: " How to manually modify the PHP version of Phpstudy "
Carefully observe the original software upgrade mechanism, find the method
The first step, download the required PHP version of the package, I was under the php7.0.5
Unzip the zip package to the Phpstudy installation directory and rename it to Php75
Duplicate a copy of php.ini-development renamed to PHP.ini, open, find Extension_dir = "ext", remove the preceding semicolon, OK
The first step
The software is upgraded by replacing the name of the included file in the E:\PHP\Apache\conf\http.conf, as follows
To the Apache\conf\extra directory, find a copy of httpd-php-fcgid55.conf (sometimes httpd-php-sapi55.conf), open, and change all php55 (php55n) to php75, at this time, In the PHP version switcher, select php5.5 (php5.5n), apply, open http://127.0.0.1/phpinfo.php
PHP7.0.5 out.
PS:PHP7 need to install VC14 runtime environment, need to go to Microsoft Official website http://www.microsoft.com/zh-CN/download/details.aspx?id=48145 download the corresponding software installation
Also, the software default PHP extension control is not available, you need to manually change to PHP.ini
Summarize