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