I'm trying to debug a PHP application that is running from the command line. I want to use a cronjob later on to invoke the module every hour.
For debugging I execute the PHP script like this:
php -c /etc/php5/apache2/php.ini /var/www/module/test/autostart/start.php 12 &
(forget about the „12“ - it's a parameter for the script)
Now basically I get this output via SSH:
[2] 10181
[1] Done php -c /etc/php5/apache2/php.ini /var/www/module/test/autostart/start.php 12
I have no idea what I have changed but a few weeks ago I got the actual php errors directly on the screen. That's what I expect. But I don't know how to force PHP to output me the result directly.