php-windows Digest 4 Jun 2008 01:00:57 -0000 Issue 3482

Topics (messages 28916 through 28916):

PHP 5.2.6 not giving or logging any errors
        28916 by: Hilton Janfield

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message --- I've got a freshly installed PHP 5.2.6 (with a freshly installed Apache 2.2.8) on a Windows XP SP2 box (yes, I know SP3 is out).

Any file with even the slightest error in it (even a missing comma or semicolon) causes PHP to balk.

Even a simple test script:
<?php echo 'Hello' echo ' World!'; ?>
causes PHP to output 0 bytes. No errors output, no errors logged.

In php.ini, display_errors = on, error_reporting = E_ALL.
I've also tried setting them in the script - ini_set('display_errors',1); error_reporting(E_ALL);


Using PHP-CLI nets the same results. PHP stops in less than half a second with zero output. The same script with no error takes 5 seconds and then spits out the output.
--- End Message ---

Reply via email to