Catalog · How the catalog works
TPHP
Engine for running PHP code with VCL support
- ★ 7 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
TPHP
PHP Engine written in Pascal. PHP version required 5.3+ and up. This engine is based on CodeThurst.
Some ZendApi functions were taken from the PHP4Delphi repository and some gui_ functions (like gui_methodParams, gui_propType) from SoulEngine repo.
Building
RAD Studio version: 10.3 Rio.
- Open TPHP.dproj or TPHP.dpr in your RAD Studio.
- Click Project->Compile, Completed!, Executable file will be located in the "build/executables" path.
- It remains only to put php5ts.dll version 5.3 and up and above near TPHP.exe. PHP 5.6.40 is present by default.
Runing
By default (when no params) engine run file "core/include.php". To run other file you can execute the command:
TPHP.exe <path/to/php.script>Comand line interface
If you need to display help message, you can execute the command:
TPHP.exe -h
