Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Run script with XP install of Eclipse
Run script with XP install of Eclipse [message #95853] Sat, 28 March 2009 20:57 Go to next message
William Rouse is currently offline William RouseFriend
Messages: 2
Registered: July 2009
Junior Member
I suspect that this question is asked a lot , but:
I am able to execute and debug my PHP work in another IDE, but I would
much prefer to work with Eclipse, so I have come back after a month to
raise this question. When I attempt to run a PHP script with Eclipse I
get the message “Please make sure that the debugger is properly configured
as a php.ini directive". I received the same message before I switched to
another IDE.
The changes I made to my php.ini files to work with the other applications
are as follows.
[XDebug]
;; Only Zend OR (!) XDebug
;If your installation follows the default settings, PHP processing will be
enabled automatically.
;To attach XDebug to the PHP engine, locate the php.ini file and add the
following lines to it:
;For a thread-safe PHP engine:
;zend_extension_ts="<path to the php
folder>/php_xdebug-<version-number>.dll" xdebug.remote_enable=1
zend_extension_ts="C:\PHP5\modules\php_xdebug-2.0.4-5.2.8.dll "
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
;; Port number must match debugger port number in NetBeans IDE Tools >
Options > PHP -- YES
xdebug.remote_port=9000

xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\temp\php"
xdebug.show_local_vars=on

I am running XP with MySQL 5.1, an Apache 2.2 server and PHP5. The
version of Eclipse is:
Eclipse Platform

Version: 3.4.2
Build id: M20090211-1700

(c) Copyright Eclipse contributors and others 2000, 2009. All rights
reserved.
Visit http://www.eclipse.org/platform

This product includes software developed by the
Apache Software Foundation http://www.apache.org/
Re: Run script with XP install of Eclipse [message #95868 is a reply to message #95853] Sun, 29 March 2009 02:20 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
William Rouse napsal(a):
> I suspect that this question is asked a lot , but:
> I am able to execute and debug my PHP work in another IDE, but I would
> much prefer to work with Eclipse, so I have come back after a month to
> raise this question. When I attempt to run a PHP script with Eclipse I
> get the message �Please make sure that the debugger is properly
> configured as a php.ini directive". I received the same message before
> I switched to another IDE.
> The changes I made to my php.ini files to work with the other
> applications are as follows.
> [XDebug] ;; Only Zend OR (!) XDebug ;If your installation follows the
> default settings, PHP processing will be enabled automatically. ;To
> attach XDebug to the PHP engine, locate the php.ini file and add the
> following lines to it: ;For a thread-safe PHP engine:
> ;zend_extension_ts="<path to the php
> folder>/php_xdebug-<version-number>.dll" xdebug.remote_enable=1
> zend_extension_ts="C:\PHP5\modules\php_xdebug-2.0.4-5.2.8.dll "
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=localhost
> ;; Port number must match debugger port number in NetBeans IDE Tools >
> Options > PHP -- YES
> xdebug.remote_port=9000
>
> xdebug.profiler_enable=1
> xdebug.profiler_output_dir="C:\temp\php" xdebug.show_local_vars=on
> I am running XP with MySQL 5.1, an Apache 2.2 server and PHP5. The
> version of Eclipse is:
> Eclipse Platform
>
> Version: 3.4.2
> Build id: M20090211-1700
>

Hi William,

debugging in PDT 1.0.3-2.1.0 works great with XDEBUG and with Zend Debugger as well (but
in some apps )

As i can see you doesn't have any problem with english lang, so you can read this pdf:
http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pd f

Where is described every aspect and every detail of local, remote, JIT debugging or debug
with XDEBUG Extension for FireFox works too.

I believe that when you read this doc, you will know and be familiar of every aspect of
PDT debugging.

and here are other docs for PDT:
http://www.eclipse.org/pdt/docs.php

and here are docs about debug in PDT which i have bookamked:
http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_:_ Installation_:_Installing_the_Zend_Debugger
http://robsnotebook.com/php_debugger_pdt_xdebug
http://devzone.zend.com/article/2930-Debugging-PHP-applicati ons-with-xdebug

I hope this help you
Re: Run script with XP install of Eclipse [message #95899 is a reply to message #95868] Sun, 29 March 2009 04:04 Go to previous message
William Rouse is currently offline William RouseFriend
Messages: 2
Registered: July 2009
Junior Member
Thank you and I will give it a try and report back in a few days.
WBR
Previous Topic:Bump <requires> version of DLTK
Next Topic:Indentation on multiline instruction
Goto Forum:
  


Current Time: Thu Mar 28 13:55:45 GMT 2024

Powered by FUDForum. Page generated in 0.03471 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top