Starting from [[Axel_Embedded_Linux_Kit_(XELK)#XELK_4.0.0|XELK 4.0.0]] a new root file system image can be created using Yocto recipes provided by DAVE's XELK BSP.
The new <code>axel-image-x11-browser</code> Yocto image includes the recipes for adding the following '''LASP''' packages(Linux, Apache, SQLite and PHP):
* backend with apache2 and PHP* frontend with Chromium browserwith HTML5 and Javascript* apache2 web server* PHP with apache2 plugindatabase SQLite
== Architecture ==
<Directory "/usr/share/apache2/htdocs">
root@imx6qxelk:~#
=== PHP ===
For demonstration purposes the PHP info page is loaded as the home page for our web server running on the system:
==== keyboard ====For a touch screen interaction, it is possible to install a Virtual Keyboard available on the ''chrome Google store''. This is very easy starting chrome on the proper URL and then installing it:
In this way, the PHP info page is shown when the web browser is started on localhost.
[[File:Phpinfo.png|600px]]
===Use case #2: eZ Server Monitor ===
A useful application demostrating PHP capabilities is the [https://www.ezservermonitor.com/ eZ Server Monitor]: it is a lightweight and simple dashboard for Linux machine.
It uses PHP scripts for collecting the server status/information and displaying them on an embedded web page.