The Halon integrated (VM) package provides the capability to host a custom PHP application that can be used to build a custom API (or other types of integrations). The feature is enabled on the "Hosts > Services > Webadmin" page by selecting one of the two available "custom" redirect options for a particular web interface. The first option provides a regular PHP service while the other provides a service which will route all requests to an index.php file (can be used to build a RESTful API). You will need to reboot the system in order for the system to create the folder structure on the /storage disk.
When you enable one of these redirect options it will start a HTTP service (nginx) with PHP enabled, where the files are stored permanently in the the /storage/www/htdocs folder. Note that this web service will be jailed to the /storage/www folder and any Halon API calls has to be done through the regular API.
For this web service, we will update the PHP version with our regular updates, and we will provide a stable set of PHP extensions.
Currently we provide the following PHP extensions:
- session.so
- zlib.so
- json.so
- openssl.so
- yaml.so
- soap.so
- pdo.so
- pdo_sqlite.so
- imap.so (added in 5.9)
Comments
0 comments
Please sign in to leave a comment.