Skip to content

PHP Settings - PHP Debugging

Display PHP error messages at runtime

The PHP runtime may return error and warning messages when compiling PHP scripts. If you turn this option on, a message box will display errors when they occur. The application asks you "Do you want to disable future error messages?" in case of multiple error or warning messages.

Finally, the last error message is displayed in the browser so that end users can see it and report it to you. You can also customize the error page that is displayed thanks to the "Error message" entry in Dialog Boxes.

Notes

  • The Error Level can be configured in the php.ini file (error_reporting value).

  • You can customize the "Fatal PHP error" message that is displayed when the PHP runtime fails to execute a PHP script thanks to the SPHPFatalErrorMsg resource string.

Enable PHP error logging (errors will be stored to the file "php_errors.log" in the same folder as the EXE)

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.

Important

Enabling this option will disable the effect of the previous option: PHP error messages will not be displayed at runtime in message boxes.

Enable XDebug debugger and profiler

ExeOutput for PHP enables and configures the well-known XDebug PHP profiler to run in your application. Please refer to XDebug documentation for further explanation about using it.

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 (such as PHP errors and warnings, 404 "resource not found" errors...) into a log file. It is similar to web server logs.

The log file is stored in the same folder as the output 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

Warning

ExeOutput for PHP does not delete log files itself.

Disable OPcache extension

By default, ExeOutput for PHP enables the OPcache extension so that your application runs faster. You can disable it if you want thanks to the option.