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 in the PHP Debugging page.

First of all, we strongly recommend you activating these two options when you start a project:

PHP error debug options

Enable PHP error logging

This option automatically configures the error reporting options in PHP.INI so that any PHP error is stored to the file whose name is php_errors.log in the same folder as the application's EXE file. For instance, if your EXE path file is c:\my documents\output \myprogram.exe, the full path to the log file is: c:\my documents\output\myprogram.log


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.


ExeOutput for PHP does not delete log files itself.

See Also: other debugging options available