본문 바로가기
Development/PHP

IIS7 PHP 이클립스 디버깅

by Dev. Jkun 2013. 6. 21.
반응형

Setting up PHP and Eclipse IDE for debugging on IIS7.

Here are the steps required to setup PHP on IIS7 and configure Eclipse IDE for debugging:
1. To install PHP on IIS7 you can either download the PHP installer from http://php.net/downloads.php or use Microsoft Web Platform installer. If you are installing PHP directly without using Microsoft Web Platform installer make sure you install the non thread safe version. The web installer automatically install the correct version. Also, on the window to select the web server, select IIS FastCGI.
2. Download and install Eclipse for PHP developers from http://www.eclipse.org/downloads/
3. Download and copy the non thread safe version of Zenddebugger.dll (from 5_2_x_nts_comp folder) into ext folder of PHP install directory.
4. Include the following at the end of PHP.ini file in the PHP install directory
[Zend]
zend_extension="C:/Program Files/PHP/ext/ZendDebugger.dll"
zend_debugger.allow_hosts="localhost,127.0.0.1"
zend_debugger.expose_remotely=always
zend_debugger.connector_port=9009
5. Now open Eclipse and select Windows -> Preferences
6. On the preferences window select Debug under PHP. In the Default settings, select "Zend Debugger" from the dropdown and click on Configure link and enter 9009 next to Zend Debugger for the port. Next select the PHP servers link and enter the URL of the PHP web application (eg. http://localhost).


출처 : http://velavans.blogspot.kr/2010/02/setting-up-php-and-eclipse-ide-for.html


한번 따라해보고 잘 되면 캡쳐포스팅으로 다시 올리겠음;;; 오늘 긁기만~~

반응형

댓글