PHP Eclipse XDEBUG Development Environment Building
1. Download the JDK
2. Download Eclipse-php-helios-sr2-win32-x86_64.zip
3. Download php5.3
4. Download Xdebug
5. Download Apache2
6. Configure PHP.ini
Add the following paragraph
; Load xdebugzend_extension= "D:/php-5.3.16-win32-vc9-x86/ext/php_xdebug-2.2.1-5.3-vc9.dll"; xdebug configuration [Xdebug]; Turn on automatic tracking xdebug.auto_trace = on; Turn on exception tracking xdebug.show_exception_trace = on; Turn on remote debugging auto-start Xdebug.remote_autostart = on; Turn on remote Debugging xdebug.remote_enable = TRUE; collect variable xdebug.collect_vars = on; collect return value Xdebug.collect_return = on; collect parameters Xdebug.collect_ params = On
7 Configuring Apache
LoadModule php5_module "D:/php-5.3.16-win32-vc9-x86/php5apache2_2.dll" AddType application/x-httpd-php. Phpphpinidir "D:/php-5.3.2-win32-vc9-x86"
?
8 root directory changed to workspace or add virtual directory
#DocumentRoot "D:/program files/apache software Foundation/apache2.2/htdocs" DocumentRoot "E:/workspace/php/demo"
? or configure
#虚拟目录节点
#设置欢迎界面 directoryindex index.php index.html index.htm Alias /php "e:/ Workspace/php/demo " #"/php "is a virtual path," E:/workspace/php/demo "is the physical path of your project storage;
#访问权限设置 Order allow , deny
allow from all
?
So far.
?
?