) Quickly build a PHP Development Environment Wamp + zendstudio + zenddebugger

Source: Internet
Author: User
Tags php development environment
From: http://blog.csdn.net/lihongzhai/archive/2009/05/17/4195304.aspx

Install Wamp

Wamp refers to the installation of Apache Web Server (A) and MySQL database (M) and PHP script engine (p) in Windows (W) the established PHP network server environment, of course, must be better than the Wamp environment in the lamp environment, but because of the ease of use of windows, when we develop or test some CMS in the early stage, it is even more convenient and practical to use the Wamp environment. Wamp is a combination of these individual software to form a powerful web application.ProgramPlatform.

(We recommend that you download the latest version)

Http://nchc.dl.sourceforge.net/sourceforge/wampserver/WampServer2.0h.exe

Development tools required for PHP Development

Zend studio is recommended. This is not a free version, so it is easier to use. Other open-source development tools can also be found in SourceForge.

Configure and install Zend Debugger

After Zend studio is installed, you must install the debugger Zend debugger. You can find the installation guide. Follow the instructions to download the latest debuggerat http://downloads.zend.com/pdt/server-debugger. I downloaded zenddebugger-5.2.14-cygwin_nt-i386.zip. Decompress the package. Get a directory:

<Dir> 4_3_x_comp

<Dir> 4_4_x_comp

<Dir> 5_0_x_comp

<Dir> 5_rjx_comp

<Dir> 5_2_x_comp

<Dir> 5_2_x_nts_comp

321 dummy. php

6,934 inventory. xml

376 MD5

832 readme.txt

Here I use zenddebugger. dll in 5_2_x_comp.

The procedure is as follows.

1. Copy zenddebugger. DLL to your PHP installation directory, for example, C: \ Wamp \ bin \ PHP \ php5.2.9-2.

2. Add the following four lines to your php. ini:

[Zend]

Zend_extension_ts = c: \ Wamp \ bin \ PHP \ php5.2.9-2 \ zenddebugger. dll

Zend_debugger.allow_hosts = 127.0.0.1

Zend_debugger.expose_remotely = always

Among them, 127.0.0.1 is the IP address of the machine where the remote debugging file is located; I am a local web debugging

3. Copy dummy. php to the document root directory of Apache (Wamp \ www \).

4. Restart Apache.

5. Go to tools> preferences> debug in Zend studio to check whether the settings are correct.

6. Go to debug-> check debug server connection to test whether the test is successful.

To build a Zend debugger, pay attention to the following two points:

1. The php. ini file is in Wamp \ bin \ apache \ bin.

2. Remote debug In the Zend studio installation package is another item. Ignore it.

3. phpinfo. PHP doesn't know what it is. Don't try it. If you know something, please let me know. I really want to see it. Just write a PHP file and add "phpinfo ();" to it.

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/lihongzhai/archive/2009/05/17/4195304.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.