Solving PHP errors
If your PHP scripts contain errors, they can be displayed by your app compiled with ExeOutput for PHP.
ExeOutput for PHP provides you with several options to help you debug your app and solve possible errors. They are accessible on the PHP Debugging page.
First of all, we strongly recommend activating these two options when you start a project:
Enable PHP error logging
This option automatically configures the error reporting options in PHP.INI so that any PHP error is stored in a file named php_errors.log
in the same folder as the application's EXE file. For instance, if your EXE path is c:\my documents\output\myprogram.exe
, the full path to the log file is: c:\my documents\output\php_errors.log
.
Note
The Error Level can be configured in the php.ini file (error_reporting value).
Store requests and errors in log file
When this option is on, the application writes all URLs that were accessed by the internal browser and errors (PHP errors and warnings, 404 "resource not found" errors...) into a log file. It is similar to web server logs.
The log file is also stored in the same folder as the app's EXE file.
Warning
ExeOutput for PHP does not delete log files itself.