The php version of phpstudy can be freely modified.

Source: Internet
Author: User

The php version of phpstudy can be freely modified.

There are many integrated website building software on the Internet, and wamp, xampp, and phpstudy are well known.

Now let's talk about phpstuy's free php version switch.

Install download and so on don't say, http://www.phpstudy.net/official website there, very simple

Looking at the interface, the author of the software is actually very user-friendly, you can choose the php version, as shown below:


You can also upgrade (but, say upgrade, or replace it), private order, you know


The software has detailed documentation, so I will not talk about it much.

Now, the most important thing is,After php 7 or a later version of php is released, the software cannot be upgraded correctly.This cannot blame the author. After all, the software was written before php7 (of course, the author has updated it and supports php7)

At this time, we can only be self-reliant:"How to manually modify the php version of phpstudy"

Carefully observe the original software upgrade mechanism and find a solution

Step 1: download the required php version package, which is php7.0.5.

Decompress the zip package to the phpstudy installation directory and change it to php75.

Copy the php. ini-development file and change it to php. ini. open the file, find extension_dir = "ext", and remove the semicolon (;). OK.

Step 1

The software is upgraded by replacing the file name in E: \ PHP \ Apache \ conf \ http. conf, as shown below:


To the Apache \ conf \ extra directory, find a httpd-php-fcgid55.conf (sometimes a httpd-php-sapi55.conf), open, all php55 (php55n) are modified to php75, at this time, in the php version switch panel, select php5.5 (php5.5n), apply, and open http: // 127.0.0.1/phpinfo. php

PHP7.0.5 is out.


PS: PHP7 needs to install VC14 runtime environment, need to go to the Microsoft official website http://www.microsoft.com/zh-CN/download/details.aspx? Id = 48145 download corresponding software installation

In addition, the default php extension control of the software is no longer available and needs to be manually changed to php. ini.

Summary

The above section describes how to freely modify the php version of phpstudy. I hope it will be helpful to you. If you have any questions, please leave a message and I will reply to you in a timely manner. Thank you very much for your support for the help House website!

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.