I have PHP 4.3.7 running on my client's Windows 2003 server. The same
computer also runs SQL Server and I am trying to connect from PHP to a
database. This fails, so I would like to track down the cause for this
failure.
However, PHP does not display error messages about the failure. I have tried
these:
php.ini:
display_errors = On
test.php:
error_reporting (E_ALL);
phpinfo() says error_reporting is set to 2047 (E_ALL).
Yet I still do not get any errors.
Even when I write arglebargle code, PHP still produces a blank HTML-page
instead of syntax error message.
Are there any other settings in addition to the two forementioned which may
affect error reporting?
-Jani
computer also runs SQL Server and I am trying to connect from PHP to a
database. This fails, so I would like to track down the cause for this
failure.
However, PHP does not display error messages about the failure. I have tried
these:
php.ini:
display_errors = On
test.php:
error_reporting (E_ALL);
phpinfo() says error_reporting is set to 2047 (E_ALL).
Yet I still do not get any errors.
Even when I write arglebargle code, PHP still produces a blank HTML-page
instead of syntax error message.
Are there any other settings in addition to the two forementioned which may
affect error reporting?
-Jani
Comment