使用Wordpress朋友总会难免需要对自己的WP进行一些个性调整或者为自己做一套个性的主题,一般的小修改直接在线调整完全没有问题,但要是为自己打造一套个性主题的时候最好还是选择本地进行调试,所以一些针对Windows系统的PHP调试软件就应运而生。
Wordpress够流行了吧,它是一个用PHP编写的强大的博客平台。使用它来架设一个博客平台相关容易,是新手建站比较方便的工具。但是要真正体会Wordpress(以下简称WP)强大,插件是不可少的东西。一般来说,我们不可能想试一个插件就把文件通过FTP来上传,然后去自己的网站里试,那样风险大了点。所以我们需要在本地计算机上搭建一个PHP平台。
一般来说,本地的PHP平台分为两种,一种是LAMP,即为Linux+Apache+MySql+PHP;另一种是WAMP,它是Windows+Apache+MySql+PHP,而前者一般优秀于后者。如果让我们自己来安装Apache+MySql+PHP,难度不少,改一堆代码不说,还容易出错。再者考虑到现在大家大多使用的是Windows操作系统,自己又是个Linux盲,所以我提供的这些本地测试平台都是WAMP,都是集成以上功能的,安装完成即可使用。
1. XAMPP(http://www.jb51.net/softs/308.html)
XAMPP是一款比较强大的本地测试平台,它集成了必须的三个功能,还带有FileZilla,软件带有一个控制面板,在里面可以把Apache、 MySql和FileZilla三者注册为系统服务或者卸载服务,有服务启动的控制按钮,而且在窗口下部还能看到服务的运行信息。虽说面板是英文的,但清 楚易懂。注册为系统服务有个好处就是开机能够自动运行,但是会消耗一定的系统资源,怎么取舍用户自己来定。安装成功,服务也启动成功后,就可以把浏览器打开输入http://localhost/,试试是否成功。在XAMPP的网页选项里,有中文支持。
2. WampServer(http://www.jb51.net/softs/39117.html)
它的官方网站没有中文,但是程序支持中文。启动安装程序后,它会提示你请先卸载旧版,不支持覆盖式的升级,然后一路NEXT就能安装成功。它在任务 托盘里有个图标,如果服务启动异常,它就是红色的;如果部分异常,它就变成黄色;如果是一切正常,那么它就变成了白色。这些不同的颜色警示,你很容易判断 当前你的localhost能不能打开。它还能切换在线和离线状态,选项中的文语言项中也有简体中文可选,很不错。
3. Vertrigo Server(http://www.jb51.net/softs/73466.html)
这是一个轻量级的WAMP环境,但是你下载它的时候,迅雷自带的安全组件居然说它带有病毒。经过我的扫描(ESS3.0)和使用来看,这完全是个误 报,所以大家可以放心使用。安装一路NEXT就行,其中PhpMyAdmin中居然还有原始密码,是vertrigo,感觉在本地测试的话,这种默认没有 必要。它带有一个简单的控制面板,运行状态也一目了然。
在它的localhost页面中带有常用链接,很方便。
4. PHPNow(http://www.jb51.net/softs/12868.html)
PHPNow is really simple. The installation program is a self-extracting program made with RAR. There is no shortcut since release. You have to find the folder where the file is stored and then run the Init.cmd program to initialize it. During the initialization process, you are prompted to set a password. Because it is in the CMD command line, only one password input is designed, and there is no password confirmation item, so please be careful when setting it and don't forget it. It also registers Apache and MySql as services and starts automatically at boot.
In the program folder, it also has a control panel, which is just CMD, but it is very easy to use. Uninstalling is even easier. Just uninstall the service in the control panel that comes with the software, then close and delete the entire folder. It’s so convenient and the picture is simple, you can try it.
5. PHPStudy(http://www.jb51.net/softs/62185.html)
PHPStudy is different. It contains IIS+PHP and Apache+PHP. The recommended software setting is the latter. There is also an icon in the task tray, and you can open the panel to see the service running status, which is also very simple.
Open localhost, and the standard PHP information interface appears.
6. AppServ(http://www.jb51.net/softs/24445.html)
During the program installation process, it prompts you to change the default port 80 to the service port, which can avoid conflicts caused by port sharing. There is a password setting prompt, but it is much better than PHPNow. The software can also set the character set, and the default is UTF-8. Although the software does not have a control panel, shortcuts are added to the start menu for all operations, which is of course very convenient to use. The software also comes with a MySql command line terminal.
7. EasyPHP(http://www.jb51.net/softs/73467.html)
As the name suggests, the software is really EASY! Install NEXT all the way, but Apache and MySql will not be loaded as services, so they must be started manually every time they are used. The software also comes with a simple control panel, and there’s not much else to say.
If some such PHP-related services cannot be started, please pay attention to whether port 80 in your machine is occupied (quickly find the local port). Common programs, such as Thunder, BT software, etc., will occupy port 80 even if they are not working. So after turning them off, starting PHP-related services and then turning on these downloaded software or something, there will be no problem of unsuccessful service startup.