Hello world ! in PHP

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. (read all...)

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 the FOX Board IP using this URL:

http://<fox_board_ip_address>/hello.php

Installation

PHP and Lighttp web server are already installed by default on the FOX Board G20 on Debian Linux distribution. If not install it typing:

debarm:~# apt-get update
debarm:~# apt-get install php
 
tutorial/php.txt · Last modified: 2010/01/15 19:37 by tanzox
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki