How to upgrade php version of wamp
Upgrade steps: 1. Download the PHP compressed package from the official website; 2. Unzip the file, rename it to "php version number", and place it in the "wamp/bin/php" directory; 3. Configure php. ini, phpForApache.ini, wampserver.conf, httpd.conf files; 4. Restart wamp.
1. Download a php7.1.5
php version from the official website. Download address: http://windows. php.net/download/
2. Unzip the file - put it in the bin/php directory - change the file
1. Unzip the compressed package you just downloaded. Change the name to php7.1.5, which is the php version number. Place this folder in the wamp/bin/php directory.
2. Copy the php.ini, phpForApache.ini, and wampserver.conf files in the original version of php5.5.12 folder to the php7.1.5 folder.
3. Modify the two files php.ini and phpForApache.ini, and replace all php5.5.12 in the two files with php7.1.5. Use notepad to open ctrl f to find and replace.
4. Modify the wampserver.conf file
If your apache version is 2.2X, then modify it to:
$phpConf['apache']['2.2']['LoadModuleName'] = 'php7_module'; $phpConf['apache']['2.2']['LoadModuleFile'] = 'php7apache2_2.dll';
If your apache version is 2.4, then change it to:
$phpConf['apache']['2.4']['LoadModuleName'] = 'php7_module'; $phpConf['apache']['2.4']['LoadModuleFile'] = 'php7apache2_4.dll';
5. Find the php.ini file in the wamp/bin/apache/apache2.4.9/bin directory , delete it.
6. In the wamp/bin/apache/apache2.4.9/conf directory, find the httpd.conf file
Open the httpd.conf file, find LoadModule
LoadModule php7_module "D:/wamp/bin/php/php7.1.5/php7apache2_4.dll"
7 , download a php_xdebug-2.5.3-7.1-vc14-x86_64.dll dynamic link library (link https://xdebug.org/download.php)
in wamp/bin/php/php7 .1.5 folder, create a new folder zend_ext, and put the downloaded dynamic link library into the zend_ext folder.8. In the wamp/bin/php/php7.1.5 folder, find the php.ini file, find and modify it:
; XDEBUG Extension zend_extension = "D:/wamp/bin/php/php7.1.5/zend_ext/php_xdebug-2.5.3-7.1-vc14-x86_64.dll" ;
9. Comment out this sentence in the php.ini file
;extension=php_mysql.dll
10. Restart wamp
The above is the detailed content of How to upgrade php version of wamp. 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

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



This article involves two PHP integrated environments, both of which contain mysql + apache + php. The function of phpstudy is more powerful than wamp, and it is very simple and easy to use.

Wampserver is a software package that can install Apache, PHP and MySQL on Windows computers. Develop and test PHP websites on your local computer easily with Wampserver. During the development process, we may need to modify the PHP configuration file php.ini. This article will introduce how to modify the php.ini file in Wampserver.
![[Summary] Reasons and solutions why WAMP cannot parse PHP files](https://img.php.cn/upload/article/202303/22/2023032211181758796.jpg?x-oss-process=image/resize,m_fill,h_207,w_330)
WAMP is a free and open source web server software package that allows users to build a web server environment on Windows operating systems. However, when users try to run PHP files in WAMP, they may encounter unresolved errors. In this article, we will explore the reasons and solutions for why WAMP cannot parse PHP files.

Title: How to upgrade the PHP version on the server to 5.3, specific code examples are needed. In websites running on the server, upgrading the PHP version is a common requirement. In order to adapt to new features and performance optimizations, upgrading the PHP version to 5.3 is a common choice. This article will introduce how to upgrade the PHP version to 5.3 on the server and provide specific code examples. 1. Back up important data Before performing any upgrade operation, be sure to back up important data to prevent data loss due to accidents. Can be accessed via FTP, text

In the process of using WAMP as a local server environment, the problem of garbled PHP files sometimes occurs. This kind of problem will not only affect our code writing, but also affect the normal operation of our website. In this article, we will introduce some methods to solve garbled PHP files in WAMP.

Introduction to the directory of this article: CentOS installs WAMP, installs Apache, installs MySQL, installs PHP, configures WAMP. After CentOS is installed, you cannot enter the desktop and cannot click to restart. Update the desktop environment or reinstall the driver. Reset the desktop configuration. Change the desktop environment. LINUX knowledge sharing. CentOS installs WAMP. CentOS is a Linux-based system. Operating system for server and desktop applications, WAMP is a development environment for running web applications on Windows operating system. In this article, we will introduce how to install WAMP on CentOS. To install Apache we need to install Apache as a web server and execute the following command in the terminal

Wampsever is a PHP development environment that helps programmers deploy and test PHP projects locally. This article will introduce how to use Wampsever to deploy PHP projects locally.

With the continuous development of Internet technology, developing a website or application has become the norm in the software industry. As a developer, deployment and operation are inevitable steps in project development. This article will introduce how to use PHP and WAMP to deploy and run projects on Windows systems. 1. What is WAMP WAMP is a web service software package suitable for Windows operating system, where W represents Windows operating system, A represents Apache server, and M represents
