Eclipse++xdebug Developing PHP environment configuration

Source: Internet
Author: User
Tags php development environment phpinfo vc9

First, the PHP environment configuration:

    1. This time the Appserv 2.5.10 integrated installation package is used. The specific version is as follows, after installation PHP version is 5.2.6 Vc6,apache version 2.2
    2. After the installation is complete, the PHP configuration file is in the C:\Windows directory, which is php.ini.
    3. The rest of the configuration is simple, if in doubt can refer to Appserv related documents, this article mainly records eclips related integrated development environment configuration.

Second, Zendstudio Eclipse +xdebug development php environment software download:

    1. JRE installation, you can ignore this step if you already have a ready-made Java environment.
    2. Zend Studio builds a PHP development environment based on the Eclipse integration environment.
    3. Xdebug version to match the PHP version, as to how to download the matching xdebug, need to be detected on the http://www.xdebug.org/download.php page, the page is Custom installation Instructions link, open after the text box appears, paste the output of the Phpinfo function to this, you can analyze the PHP needs of the Xdebug version. Because the official website has not provided the VC6 version of the Xdebug, so I had to search, finally found in Csdn VC6 version of the Xdebug. Download to get a DLL file.

Three, the installation configuration is as follows:

    1. Install Eclipse, which is to extract to a directory such as: D:\Program Files\eclipse, pure green installation.
    2. Installing Xdebug is to copy the downloaded DLL file to the Ext directory in the PHP installation directory, as in this example C:\AppServ\php5\ext.
    3. Modify the C:\windows\php.ini file to join the Xdebug configuration:
Extension=php_xdebugvc6.dll [Xdebug] Xdebug.profiler_enable=on xdebug.trace_output_dir= "D:/workspace/runrun/xdebugdata"Xdebug.profiler_output_dir="D:/workspace/runrun/xdebugdata"        Description: After loading the php_xdebugvc6.dll as an extension into PHP and specifying its data output directory (above the Red Word section, customizable directory), restart Apache to see the Xdebug support information in the Phpinfo output, stating that the installation configuration was successful. At this point, the Eclipse workspace directory is set to the Apache Web root directory, you can easily run the PHP program you wrote.

Iv. Some notes:

    1. The PHP VC6 version is compiled with the Visual Studio 6 compiler, and if you are using apache+php under Windows, select the VC6 version.
    2. The VC9 version is compiled with the Visual Studio 2008 compiler, and if you are using iis+php under Windows, select the VC9 version.
    3. refer to the Dongua log, but this article uses the Zendstudio already integrated environment, so the configuration is simpler.

Eclipse++xdebug Developing PHP environment configuration

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.