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.
Creative Commons License

关注我们: 微博

销售邮箱:market@armdevs.com
技术支持: support@armdevs.com
销售电话: +86-755-29638421


核风在线支持>
在线时间:09:00-18:00
Copyright @ 2014 to 2020 - 核风智能技术有限公司