The free way to modify the PHP version of Phpstudy

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.