Hello World in PHP --- CORE9G25
Feature Hardware ref Linux Tutorials Debian Tutorials pinout

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


  Tel: +86-755-29638421  |    Sales Email: market@armdevs.com |  Support Email: support@armdevs.com | Gtalk: armdevs@gmail.com  
www.armdevs.com | Copyright @2013 - CoreWind Technology Co.,Limited