How to add the php7 version to wamp2.5: 1. Download PHP7 and extract the compressed package to the wamp/bin/php directory; 2. Download the VC15 runtime library installation; 3. Copy the relevant files to php7.3.4 folder; 4. Modify the php.ini and wampserver.conf files.
The operating environment of this article: Windows7 system, WampServer2.5 version, DELL G3 computer
How to add php7 version to wamp2.5?
WampServer2.5 adds PHP7 support
Foreword: The author's WampServer is a 32-bit version, friends who use the 64-bit version can refer to it.
1. Download PHP7
Select VC15 x86 Thread Safe and extract the downloaded compressed package to the wamp/bin/php directory
2. Download the VC15 runtime library and install it
x86: vc_redist.x86.exe x64: vc_redist.x64.exe
3. Copy the php.ini, phpForApache.ini, and wampserver.conf files in the original version of the php5.5.12 folder to the php7.3.4 folder.
4. Modify the php.ini and phpForApache.ini files in the php7.3.4 folder, and replace all php5.5.12 in the two files with php7.3.4. Search for zend_extension and add; in front to comment out this line. (The author does not use XDEBUG, so I commented it out directly. Friends who need to use XDEBUG can read the reference materials.)
5. Modify the wampserver.conf file in the php7.3.4 folder
Modify php5_module to php7_module
Modify php5apache2_4.dll to php7apache2_4.dll
Delete the three lines starting with $phpConf['apache']['2.2'] (php7 does not support apache2.2 )
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of How to add php7 version to wamp2.5. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft
