PHP is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document.
Hello world example
This is the "Hello world !" source code basic example.
<? echo "Hello World !" ?>
Save it with in /var/www/hello.php file then run it opening your browser on board IP using this URL:
http://<board_ip_address>/hello.php
Installation
PHP and Lighttp web server are already installed by default on the bootable Debian Linux microSD. If it is not installed on your board just type:
debarm:~# apt-get update debarm:~# apt-get install php
See the phpinfo() output generated by the default PHP installation.
Documentation Terms of Use
The Acme Systems srl provides this Debian system development and user manual.
The origin of these doc came from the website: http://www.acmesystems.it
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.