Zend Studio How to configure the local Apache server to debug PHP scripts using Xdebug

Source: Internet
Author: User
Tags php debug zend

Local environment collocation: Apache 2.2 Installation Location: D:/program files/apache software foundation/apache2.2php 5.2.10 installation location: C:/phpxdebug installed and configured Zend Studio installation location: D:/program files/zend/zend studio-7.0.0zend Studio Default Workbench Installation location: c:/users/fred/zend/workspaces/ DefaultWorkspace7 configuration Apache, modify the httpd.conf file, add at the end of the file:Alias /workspace "c:/users/fred/zend/workspaces/defaultworkspace7"
<directory "c:/users/fred/zend/workspaces/defaultworkspace7" >
Options Indexes multiviews execcgi
DirectoryIndex index.php
AllowOverride None
Order Allow,deny
Allow from all
</Directory>/workspace the name you like to change C:/users/fred/zend/workspaces/defaultworkspace7 this and your Zend studio default workbench location corresponds to the next configuration Zend Studio Open Zend Studio = Window = Preferences = phpphp executables = Add, set as shown below (name can be a random name, However, the following debug settings must correspond to this name): PHP Servers = New, set as follows: Note that the URL bar adds workspace, which is a directory alias added in httpd.conf. PHP Debug, as shown, select the appropriate debugger,server: excerpt: http://blog.csdn.net/caolijunmingyan/article/details/6521038

Zend Studio How to configure the local Apache server to debug PHP scripts using Xdebug

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.