Sunday, October 12, 2008

php, eclipse, xdebug

0. assume php5, php5-dev, mysql, apache2 are well installed.

1. following the SOPs to install Eclipse+PDT package,
install xdebug(by pecl)

2. take care to change php.ini :
xdebug.remoteport= 10002 (do not use 10000, it's already used by other app in Ubuntu)

3. setup eclipse Workspace carefully,
4. configure PHPServer/Debug in eclipse to use xdebug with port=10002

No comments: