Easysoft ODBC-ODBC Bridge

How can I find out why my PHP script is not working?

Article:
00088
Last Reviewed:
25th November 2011
Revision:
2

There are general guidelines to help you in the PHP documentation and via a number of PHP mailing lists, you should read those first. A quick method is to turn on tracing in PHP. You can do this by editing your /usr/local/lib/php3.ini file (if you don''t have one then see the INSTALL file that comes with PHP which documents a template ini file).

Ensure error_reporting is set to 7, log_errors is set to On and set error_log to the name of a file (e.g. /tmp/php_errors). Once you have made these changes restart Apache and all the normal errors and warnings and parser errors will be logged to the file.

You can also set track_errors to On which makes the last error available in the $php_errormsg variable.

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)


Oracle is a registered trademark of Oracle Corporation and/or its affiliates.