This is an old revision of the document!


PHP Development with Eclipse PDT and xdebug

this article describes how to install eclipse pdt and xebug on an ubuntu server and a ubuntu desktop machine..

run

apt-get install xdebug

and you're done installing ;)

unfortunately the ubuntu repositories don't contain a PDT package for eclipse, so you need to get it from another repository:

sudo add-apt-repository ppa:yogarine/eclipse/ubuntu
sudo apt-get update 
sudo apt-get install eclipse-pdt

and you're done installing eclipse pdt :)

on your webserver edit the xdebug ini file:

nano /etc/php5/conf.d/xdebug.ini

and add these lines:

xdebug.remote_enable=On
xdebug.remote_host="172.16.16.216"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
  • php_development_with_eclipse_pdt_xdebug.1294399287.txt.gz
  • Last modified: 07.01.2011 12:21
  • by Pascal Suter