Home Backend Development PHP Tutorial 惯用PHP运行环境一键安装包

惯用PHP运行环境一键安装包

Jun 13, 2016 am 10:31 AM
apache dedecms mysql php windows

常用PHP运行环境一键安装包

PHP的程序很火,像博客:Wordpress、论坛:Discuz!、SNS:UCenter Home、CMS:DedeCMS等等都是比较流行的PHP程序,大家都在使用PHP类的程序,但对于很多初学者来说,直接上传到虚拟空间上一个一个调试是很麻烦的事,那么在本地(我的电脑)中搭建一个PHP运行环境调试、测试程序是最快捷的方法。下面卢松松就介绍一些在本机快速搭建PHP运行环境的方法,让不了解PHP的朋友能快速搭建一个属于自己的PHP运行环境。

本地的PHP平台分为两种,一种是LAMP,即为Linux+Apache+MySql+PHP;另一种是WAMP,它是 Windows+Apache+MySql+PHP,而前者一般优秀于后者。考虑到大家使用的都是windows平台,所以这里重点介绍在win平台搭建php运行环境。这些组件都是傻瓜式安装,你一直点下一步即可安装成功。

PHP一键安装包介绍

一:ComsenzEXP

来自17ftp.com

ComsenzEXP是康盛创想开发的一套社区产品整合体验安装包,ComsenzEXP包括:Discuz!(论坛)、SupeSite(CMS)、UCenter(用户中心)、UCenter Home(SNS社区)。卢松松本人经常使用ComsenzEXP一键安装,同样也可以调试其他PHP程序,如:dedecms、phpwind。只要把程序放在wwwroot目录,数据库放在MySQL的data目录即可。

二:DedeAMPZ-PHP环境整合套件

来自17ftp.com

DedeAMPZ 是直接整合PHP + Apache + MySql 的服务器环境管理软件,操作十分傻瓜化,适合初中级水平的站长使用。该套装默认搭载dedecms。安装使用十分简单,并支持在php4与php5中切换。同样也可以调试其他PHP程序,只要放在wwwroot目录中即可。

三: Xampp

来自17ftp.com

XAMPP是一款比较强大的本地测试平台,虽说面板是英文的,但清楚易懂。注册为系统服务有个好处就是开机能够自动运行,但是会消耗一定的系统资源,怎么取舍用户自己来定。安装成功,服务也启动成功后,就可以把浏览器打开输入http://localhost/,试试是否成功。在XAMPP的网页选项里,有中文支持,好像好多人都在用Xampp。

相关阅读:4步用XAMPP快速搭建LAMP环境

四:WampServer

来自17ftp.com

官方网站没有中文,但是程序支持中文。它能切换在线和离线状态,选项中的文语言项中也有简体中文可选,很不错。

五:PHPStudy

来自17ftp.com

PHPStudy不一样,它含有IIS+PHP和Apache+PHP,软件推荐设置是后者。在任务托盘里也有图标,可以打开面板来看服务运行状态,也很简洁。一次性安装,无须配置即可使用,是非常方便、好用的PHP调试环境.该程序不仅包括PHP调试环境,还包括了开发工具、开发手册等.总之学习PHP只需一个包.对学习PHP的新手来说, WINDOWS下环境配置是一件很困难的事;对老手来说也是一件烦琐的事.因此无论你是新手还是老手,该程序包都是一个不错的选择.

六:AppServ

来自17ftp.com


较为轻量的WAMP,程序安装过程中它提示你可以改变默认的80端口为服务端口,软件没有控制面板,但一切操作都在开始菜单中加入了快捷方式。

相关阅读快速搭建php运行环境之APMServ

手动安装PHP运行环境方法

一般来说PHP运行环境需要安装以下几个组件:1:Apache(阿帕奇)Web服务器软件;2:MySQL(小型关系型数据库管理系统);3:PHP(php语言的编译环境);4:phpmyadmin(管理MYSQL的);5:Zend(提高PHP执行速度)。

安装PHP常见问题

如果某些这样的PHP相关的服务无法启动,请注意一下你的机器中的80端口是否被占用,检查80端口是否被占用的方法:打开CMD(开始-运行-输入CMD后回车),输入netstat -ano就可以很清楚的看到本地80口占用程序的PID。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

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

Video Face Swap

Video Face Swap

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

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1666
14
PHP Tutorial
1273
29
C# Tutorial
1254
24
What is the significance of the session_start() function? What is the significance of the session_start() function? May 03, 2025 am 12:18 AM

session_start()iscrucialinPHPformanagingusersessions.1)Itinitiatesanewsessionifnoneexists,2)resumesanexistingsession,and3)setsasessioncookieforcontinuityacrossrequests,enablingapplicationslikeuserauthenticationandpersonalizedcontent.

How to use MySQL functions for data processing and calculation How to use MySQL functions for data processing and calculation Apr 29, 2025 pm 04:21 PM

MySQL functions can be used for data processing and calculation. 1. Basic usage includes string processing, date calculation and mathematical operations. 2. Advanced usage involves combining multiple functions to implement complex operations. 3. Performance optimization requires avoiding the use of functions in the WHERE clause and using GROUPBY and temporary tables.

What are the advantages of using MySQL over other relational databases? What are the advantages of using MySQL over other relational databases? May 01, 2025 am 12:18 AM

The reasons why MySQL is widely used in various projects include: 1. High performance and scalability, supporting multiple storage engines; 2. Easy to use and maintain, simple configuration and rich tools; 3. Rich ecosystem, attracting a large number of community and third-party tool support; 4. Cross-platform support, suitable for multiple operating systems.

Composer: The Package Manager for PHP Developers Composer: The Package Manager for PHP Developers May 02, 2025 am 12:23 AM

Composer is a dependency management tool for PHP, and manages project dependencies through composer.json file. 1) parse composer.json to obtain dependency information; 2) parse dependencies to form a dependency tree; 3) download and install dependencies from Packagist to the vendor directory; 4) generate composer.lock file to lock the dependency version to ensure team consistency and project maintainability.

Laravel environment construction and basic configuration (Windows/Mac/Linux) Laravel environment construction and basic configuration (Windows/Mac/Linux) Apr 30, 2025 pm 02:27 PM

The steps to build a Laravel environment on different operating systems are as follows: 1.Windows: Use XAMPP to install PHP and Composer, configure environment variables, and install Laravel. 2.Mac: Use Homebrew to install PHP and Composer and install Laravel. 3.Linux: Use Ubuntu to update the system, install PHP and Composer, and install Laravel. The specific commands and paths of each system are different, but the core steps are consistent to ensure the smooth construction of the Laravel development environment.

Apache's Role in Web Development: Pioneering Technology Apache's Role in Web Development: Pioneering Technology May 01, 2025 am 12:12 AM

Apache's role in web development includes static website hosting, dynamic content services, reverse proxying and load balancing. 1. Static website hosting: Apache has simple configuration and is suitable for hosting static websites. 2. Dynamic content service: Provide dynamic content by combining it with PHP, etc. 3. Reverse proxy and load balancing: As a reverse proxy, it distributes requests to multiple backend servers to achieve load balancing.

What are the typical use cases for Linux versus Windows? What are the typical use cases for Linux versus Windows? May 03, 2025 am 12:01 AM

Linuxisidealforcustomization,development,andservermanagement,whileWindowsexcelsineaseofuse,softwarecompatibility,andgaming.Linuxoffershighconfigurabilityfordevelopersandserversetups,whereasWindowsprovidesauser-friendlyinterfaceandbroadsoftwaresupport

Composer's Purpose: Managing Project Dependencies in PHP Composer's Purpose: Managing Project Dependencies in PHP Apr 30, 2025 am 12:01 AM

We need Composer because it can effectively manage dependencies of PHP projects and avoid the hassle of version conflicts and manual library management. Composer declares dependencies through composer.json and uses composer.lock to ensure the version consistency, simplifying the dependency management process and improving project stability and development efficiency.

See all articles