Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to add php7 version to wamp2.5

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to increase the php7 version of wamp2.5, which is very detailed and has certain reference value. Friends who are interested must finish reading it!

Wamp2.5 to increase the php7 version of the method: 1, download PHP7 and extract the package to the wamp/bin/php directory; 2, download VC15 runtime installation; 3, copy related files to the php7.3.4 folder; 4, modify php.ini and wampserver.conf files.

This article operating environment: Windows7 system, WampServer2.5 version, DELL G3 computer

How to add php7 version to wamp2.5?

WampServer2.5 adds PHP7 support

The author's WampServer is a 32-bit version, friends who use 64-bit version can refer to it.

1. Download PHP7

Select VC15 x86 Thread Safe, and extract the downloaded package to the wamp/bin/php directory

two。 Download the VC15 runtime installation

X86: vc_redist.x86.exex64: vc_redist.x64.exe

3. Copy the php.ini,phpForApache.ini,wampserver.conf file from the original version of the php5.5.12 folder to the php7.3.4 folder.

4. Modify the two php.ini,phpForApache.ini files in the php7.3.4 folder to replace all the php5.5.12 in the two files with php7.3.4. Search for zend_extension and add; comment out the line. (the author did not use XDEBUG, so I commented it out directly. Friends who need to use XDEBUG can read the references. )

5. Modify the wampserver.conf file in the php7.3.4 folder

Change php5_module to php7_module

Change php5apache2_4.dll to php7apache2_4.dll

Delete the first three lines of $phpConf ['apache'] [' 2.2'] (php7 does not support apache2.2)

The above is all the content of the article "how to add the php7 version of wamp2.5". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report