Further explanation available about PHP versions available in ExeOutput for PHP and system requirements. Be sure to read this topic too!
By default, the "Data" virtual subfolder is placed in the folder where the EXE is located. If the path to your EXE file is
e:\my folder\myprogram.exe, the path to the "Data" subfolder will be
For security reasons (such as placing virtual files in an inaccessible folder), you may want to choose a custom name for the "Data" virtual folder. ExeOutput for PHP's virtualization engine allows you to choose any virtual folder, even on a drive that does not exist! To choose a custom name for the "Data" subfolder, enable this option and enter an absolute path such as
Be sure to choose a path unique to your application!
ExeOutput for PHP lets you define the full URL that should be loaded by the application at its startup. If you leave the field blank, the URL to the homepage as selected in the File Manager is used. This feature is useful if you use frameworks or want to display remote websites: for instance, some PHP frameworks use the PHP's PATHINFO server variable in order to display pages, like Kohana. A PHP application can be started with
where /Welcome tells the framework to show the "Welcome" view.
Another example: if you enter
the application will start and display the ExeOutput's website. This is useful if you want to create your own website browser.
If you want to customize the homepage at runtime depending on application command-line arguments for instance, you can use the following code (to be added to the UserMain HEScript script):
procedure OnStartMainWindow; begin // When the main window is going to be displayed (just before the homepage is shown). if ParamStr(1) = "/mode=debug" then begin SetGlobalVar("HomePage", "index.php?debugmode=1", false) end; end;
Lets you define more file extensions that should be considered as PHP scripts and thus passed to the PHP interpreter. If you have different extensions, you can separate them with
.EX1;EX2. For instance, if you enter
.PNG, all PNG files will be passed to the PHP interpreter.
(https://heserver/ instead of http://heserver/)
ExeOutput for PHP uses its own internal protocol for displaying web content in the web browser engine. This protocol begins with https://heserver/ (secure protocol) or http://heserver/ or ghe://heserver/ By default, the homepage at startup will be opened using the secure protocol, unless you deactivate this option.
Lets you enable the router handler script at runtime, so that you can configure custom redirections for all requests directly in HEScript.
Read more about the custom router handler in HEScript
This option is an easier alternative to the custom router handler in HEScript.
Lets you add support for pretty URLs in your PHP applications, similar to Apache's mod_rewrite in specific cases. For instance, all URLs that do not point to a file with an extension will be rewritten as if the file that is considered as the homepage was requested. Of course, the homepage should be the index.php router script of your framework.
http://heserver/myapp/myaccount/1234/ would be rerouted.
See also PHP Debugging Options and PHP.INI.