[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.php] Re: PHP Executable vs. PHP Apache-Mod
|
this is a reply i recieved via email. i thought it helpful to also
post it here.
Hi Aaron,
the main difference if you use a local php executable is that you do not
use the exact same environment as your web server. Php version can be
different but also all the settings in php.ini that can break your code.
With a php executable, you cannot use Apache environment variables,
virtual conf and so on.
Debugging using a web server ensure you test your code against a real
PHP environment (or at least one that is closer to you real server if
you test your code againt a developement server).
Thierry
On 2007-02-21 12:38:59 +0100, Aaron Howell <visualasparagus@xxxxxxxxx> said:
this post is in reference to michael heilemann's post titled:
Anybody gets ZendDebugger 5.2.3 (Mac Intel) stop at breakpoints? Bug or
configuration issue?
first, again thank you michael for your GREAT post regarding this
issue. i'm on an intel mac and am going to run through your process as
well. i've also spent a few days installing and re-installing various
php eclipse plugins and have decided to go with PDT.
my question is in regards to a comment to the original post [
http://mprobst.de/SherlockWeb/?postid=2 ]. the comment is below.
LFaR says:âNovember 9, 2006 @ 10:17
...This appears to be using only the PHP Executable. Is that correct?
If so, have you tried debugging using the PHP Web Server? I am told by
those who know more than me, that using the PHP Executable to debug
web-based applications is not the correct way to do things, due to some
differences between them...
would you [ or perhaps someone else ] be able to expand on this
question and perhaps elaborate on the issues/differences.