Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
php_development_with_eclipse_pdt_xdebug [07.01.2011 11:36] – created Pascal Suter | php_development_with_eclipse_pdt_xdebug [07.01.2011 12:23] (current) – Pascal Suter | ||
---|---|---|---|
Line 7: | Line 7: | ||
and you're done installing ;) | and you're done installing ;) | ||
- | ==== Eclipse PDT ==== | + | ===== Eclipse PDT ===== |
unfortunately the ubuntu repositories don't contain a PDT package for eclipse, so you need to get it from another repository: | unfortunately the ubuntu repositories don't contain a PDT package for eclipse, so you need to get it from another repository: | ||
< | < | ||
Line 15: | Line 16: | ||
</ | </ | ||
and you're done installing eclipse pdt :) | and you're done installing eclipse pdt :) | ||
+ | |||
+ | ===== make them cooperate ===== | ||
+ | on your webserver edit the xdebug ini file: | ||
+ | nano / | ||
+ | and add these lines: | ||
+ | < | ||
+ | xdebug.remote_enable=On | ||
+ | xdebug.remote_host=" | ||
+ | xdebug.remote_port=9000 | ||
+ | xdebug.remote_handler=" | ||
+ | </ | ||
+ | |||
+ | of course set the right ip address of your desktop from which you are running eclipse.. the php server connects to the eclipse desktop.. so basically your eclipse becomes the server at that moment.. so you need to provide an ip addres which is reachable for the server. (configure port forwardings etc. in your firewall if necessary) | ||
+ | |||
+ | in eclipse create a new php project and go to window-> |