Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
php_development_with_eclipse_pdt_xdebug [07.01.2011 11:37] – Pascal Suter | php_development_with_eclipse_pdt_xdebug [07.01.2011 12:23] (current) – Pascal Suter | ||
---|---|---|---|
Line 16: | 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-> |