Home>Article>Backend Development> How does wamp try out php7?

How does wamp try out php7?

藏色散人
藏色散人 forward
2020-02-28 14:24:47 2262browse

Start

The environment is wamp, or 32-bit, download the windows version from the official website php7.0.0VC14 x86 Thread Safe, upgrade wamp The php version is as follows:

The first step

wamp’s php is placed in wamp/bin/php, we will create a new php7.0.0 folder in this directory

How does wamp try out php7?

Extract the downloaded compressed package into the newly created php7.0.0 folder.

How does wamp try out php7?

##

Step 2

If you are in a hurry now It will definitely fail when switching the php version

From the other php version directory (the version that could be used before, mine is 5.3, it seems a bit old...), copy a file to php7.0.0 :

wampserver.confModify

How does wamp try out php7?

phpConf'apache'['LoadModuleFile'] = 'php5apache2_4.dll';

for

How does wamp try out php7?

##phpConf'apache'['LoadModuleFile'] = 'php7apache2_4.dll';

Copy

php.ini-development

and rename it tophpForApache.ini, copy it again and name it php.ini to cover the php.ini of apache/bin/If you unzip it, double-click it php.exe reported a missing dll error

How does wamp try out php7?At that time, it was because the number of bits corresponding to the vc 2015 runtime library download was missing. In addition, php7 requires the apache2.4 version. There is

php7apache2_4.dll in the decompression package. If you still use 2.2, you should upgrade.

The third step

Re-open wamp, and you will see 7.0.0 in php->version.

How does wamp try out php7?Click on it boldly, wait until the wamp icon turns green, visit

http://localhost

The version changes to 7

How does wamp try out php7?

How does wamp try out php7?

How does wamp try out php7?Let's enjoy it!

For more programming related content, please pay attention to php Chinese website

Introduction to Programming

column!

The above is the detailed content of How does wamp try out php7?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete