Display PHP Error Messages at Runtime #
If your PHP scripts contain errors, the PHP runtime may return error and warning messages. If you enable this option, a message box will display errors as they occur. In the case of multiple errors or warnings, the application will ask, “Do you want to disable future error messages?”
Finally, the last error message is displayed in the browser so that users can see and report it. You can also customize the error page that is displayed using the “Error Message” entry in Dialog Boxes.
Notes:
- The
error_reportinglevel can be configured in thephp.inifile. - You can customize the “Fatal PHP error” message, which is displayed when the PHP runtime fails to execute a script, using the
SPHPFatalErrorMsgresource string.
Enable PHP Error Logging #
This option automatically configures the error reporting settings in PHP.INI so that any PHP error is stored in a file named php_errors.log, located in the same folder as the application’s EXE file.
Important
Enabling this option will override the previous one; PHP error messages will be logged to the file instead of being displayed in message boxes.
Enable Xdebug Debugger and Profiler #
ExeOutput for PHP can enable and configure the well-known Xdebug PHP profiler to run with your application. Please refer to the official Xdebug documentation for further explanation on how to use it.
Store Requests and Errors in a Log File #
When this option is enabled, the application writes all accessed URLs and any errors (such as PHP errors, warnings, or 404 “resource not found” errors) to a log file. This is similar to standard web server logs.
The log file is stored in the same folder as the output EXE file. For instance, if your EXE path is C:\My Documents\Output\myprogram.exe, the full path to the log file will be C:\My Documents\Output\myprogram.log.
Warning
ExeOutput for PHP does not automatically delete log files.
Disable OPcache Extension #
By default, ExeOutput for PHP enables the OPcache extension to make your application run faster. You can disable it with this option if necessary.