search
HomeBackend DevelopmentPHP7How does wamp try out php7?
How does wamp try out php7?Feb 28, 2020 pm 02:24 PM
wamp

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!

Statement
This article is reproduced at:segmentfault. If there is any infringement, please contact admin@php.cn delete
Which versions of PHP7 have introduced new operatorsWhich versions of PHP7 have introduced new operatorsMar 03, 2025 pm 04:37 PM

This article details PHP 7's new operators: the null coalescing (??), spaceship (<=>), and null coalescing assignment (??=) operators. These enhance code readability and performance by simplifying null checks and comparisons, indirectl

What are the impacts of different versions of PHP7 on memory consumptionWhat are the impacts of different versions of PHP7 on memory consumptionMar 03, 2025 pm 04:35 PM

PHP 7's minor version differences yield subtle memory consumption variations. While newer versions generally improve performance and memory efficiency via Zend Engine and garbage collection optimizations, the impact is application-dependent. Signif

How to optimize PHP7 code to improve performanceHow to optimize PHP7 code to improve performanceMar 03, 2025 pm 04:28 PM

This article examines optimizing PHP7 code for performance. It addresses common bottlenecks like inefficient database queries, I/O operations, and memory leaks. Solutions include efficient coding practices, database & caching strategies, asynch

How to Use Sessions Effectively in PHP 7?How to Use Sessions Effectively in PHP 7?Mar 10, 2025 pm 06:20 PM

This article details effective PHP 7 session management, covering core functionalities like session_start(), $_SESSION, session_destroy(), and secure cookie handling. It emphasizes security best practices including HTTPS, session ID regeneration, s

What bugs have been fixed in the PHP7 version updateWhat bugs have been fixed in the PHP7 version updateMar 03, 2025 pm 04:36 PM

PHP 7 significantly improved upon previous versions by addressing numerous bugs, enhancing performance, and bolstering security. Key improvements included a rewritten Zend Engine 3, optimized memory management, and refined error handling. While gene

What impact does the PHP7 version update have on session processing?What impact does the PHP7 version update have on session processing?Mar 03, 2025 pm 04:31 PM

This article examines session handling in PHP7, highlighting performance improvements stemming from the enhanced Zend Engine. It discusses potential compatibility issues from upgrading and details optimization strategies for security and scalability

How to Monitor PHP 7 Performance with Tools like New Relic?How to Monitor PHP 7 Performance with Tools like New Relic?Mar 10, 2025 pm 06:28 PM

This article explains how to monitor PHP 7 application performance using New Relic. It details New Relic's setup, key performance indicators (KPIs) like Apdex score and response time, bottleneck identification via transaction traces and error track

How to Upgrade from PHP 5.6 to PHP 7?How to Upgrade from PHP 5.6 to PHP 7?Mar 10, 2025 pm 06:29 PM

This article details upgrading PHP 5.6 to PHP 7, emphasizing crucial steps like backing up, checking server compatibility, and choosing an upgrade method (package manager, compiling, control panel, or web server configuration). It addresses potentia

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft