Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Debugger needed to run a script?
Debugger needed to run a script? [message #36266] Tue, 17 July 2007 13:38 Go to next message
Eclipse UserFriend
Originally posted by: dserodio.gmail.com

When I choose Run As... > PHP Script, Eclipse complains about the
debugger not being correctly configured in php.ini

Do I really need a debugger in order to run (as opposed to debug) a
simple PHP script?

Thanks,
Daniel Serodio
Re: Debugger needed to run a script? [message #36299 is a reply to message #36266] Tue, 17 July 2007 13:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mshekov.gmx.de

Daniel Serodio schrieb:
> When I choose Run As... > PHP Script, Eclipse complains about the
> debugger not being correctly configured in php.ini
>
> Do I really need a debugger in order to run (as opposed to debug) a
> simple PHP script?
>
> Thanks,
> Daniel Serodio
You'll need a PHP executable. One that should work comes with the
installation of the Zend debugger plugin (get it at zend.com/pdt) . With
this you can debug PHP scripts locally.

If you then also want to debug on a remote server, you'll need an
additional dll / .so file in the server directories, as well as setting
it up.
Re: Debugger needed to run a script? [message #36332 is a reply to message #36299] Tue, 17 July 2007 13:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dserodio.gmail.com

Marius Shekow wrote:
> Daniel Serodio schrieb:
>> When I choose Run As... > PHP Script, Eclipse complains about the
>> debugger not being correctly configured in php.ini
>>
>> Do I really need a debugger in order to run (as opposed to debug) a
>> simple PHP script?
>>
>> Thanks,
>> Daniel Serodio
> You'll need a PHP executable. One that should work comes with the
> installation of the Zend debugger plugin (get it at zend.com/pdt) . With
> this you can debug PHP scripts locally.

Thanks for your reply.

I already have a PHP executable (installed by XAMPP), and I've created
an entry in "PHP Executables" Eclipse preferences pointing to this
directory (C:\xampp\php).

> If you then also want to debug on a remote server, you'll need an
> additional dll / .so file in the server directories, as well as setting
> it up.
Re: Debugger needed to run a script? [message #36621 is a reply to message #36332] Wed, 18 July 2007 12:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Patrick.Schulz.brand-implementation-group.de

I think it goes into more detailed questions, (also that it iterests me
and I'm new in PDT).

Which executeable will be used when I'm going to run or debug a script,
not a web page?
What parameters are passed?
Is it needed to have / use different php.inis for that (like php-cli.ini)?

Any help is highly appreciated.

Regrds,
Patrick
Re: Debugger needed to run a script? [message #36655 is a reply to message #36621] Wed, 18 July 2007 13:20 Go to previous message
Eclipse UserFriend
Originally posted by: dserodio.gmail.com

Patrick.Schulz@brand-implementation-group.de wrote:
> I think it goes into more detailed questions, (also that it iterests me
> and I'm new in PDT).
>
> Which executeable will be used when I'm going to run or debug a script,
> not a web page?
> What parameters are passed?
> Is it needed to have / use different php.inis for that (like php-cli.ini)?

I think I can answer this one.

It's the php.exe under the directory selected in Window > Preferences >
PHP > PHP Executables
The only parameter passed (according to Process Explorer) is "-c
/full/path/to/script.php"

HTH,
Daniel Serodio
Previous Topic:xdebug, vhosts, and server roots
Next Topic:xdebug/PDT-RC3/xampp Apache dies- help?
Goto Forum:
  


Current Time: Fri Apr 26 14:58:08 GMT 2024

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

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

Back to the top