Home > Backend Development > PHP7 > body text

How does wamp try out php7?

藏色散人
Release: 2023-02-17 14:02:01
forward
2299 people have browsed it

Start

The environment is wamp, or 32-bit, download the windows version from the official website php7.0.0 VC14 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.conf Modify

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 to phpForApache.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!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!