WampServer下安装多个版本的PHP、mysql、apache图文教程,
今天,我在调试一套PHP程序的时候,该程序中使用的某些函数在低版本中无法使用,所以只能在搞个高版本的php。
作为Web开发人员,在机器上安装不同版本的php,apache和mysql有时是很有必要的。
以下是我成功配置后的截图
不同版本的PHP:
不同版本的Apache:
这里我以安装php5.3.10为例进行说明
操作方法:
托盘图标左击 -> PHP -> Version -> 选择Get more...->打开网页后,就能看到以下截图:
然后,点击PHP(红色框框部分)
我这里是想安装PHP5.3.1,找到对应的版本进行下载后,就可以傻瓜换进行安装。
安装完成后,就能在wamp安装目录\bin\php\目录下发现多了个php5.3.10目录。
重启wamp,就可以在
托盘图标左击 -> PHP -> Version中切换不同的php版本了。
Apache和Mysql安装方法雷同,这里就不详细截图了。

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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Zend Studio 13.0.1
Powerful PHP integrated development environment

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),
