|Unable to flush output to console in PDT 2.0 [message #91452]
||Fri, 23 January 2009 01:17
| Josef Haydn
Registered: July 2009
Hi! First congrats for releasing 2.0, really love the improvements.|
One thing that is bothering me, though:
The only way I can get "dynamic" output of a php script (via echo/flush)
is when I "Run as Webpage". Since all my php development is not for web
applications, but command line scripts, I would like to see output
immediately like I am used to from running directly in a shell.
I have already set all parameters in php.ini
output_buffering = Off
implicit_flush = On
but as I said this only works for running the script in PDT as a webpage.
Of course I updated the correct php.inis (both for the local webserver
and the php cli), so this is not the problem.
Whenever I choose "Run as Script" or "Debug as Script" all output goes
to the PDT Windows "Debug Output" and "Browser Output" and in both of
these Windows the output is delayed (buffered).
How can I get the good old shell behaviour I am used to?
Also, I wonder why there is a window called console, but no output
from my script goes there?
I would be very grateful for any help.
Powered by FUDForum
. Page generated in 0.04273 seconds