PLEASE NOTE: This article is obsolete or related to a discontinued product.

Hello World ! in PHP

This article shows how to write and run your first PHP script on the FOX Board

Download the following source code and save it in the /mnt/flash/root folder using FTP or SSH:

<?
  echo "Hello world !";
?>  

Now run it from your browser using this URL:

Ensure that the folder where you save the php files has the right permissions for writing. To enable those right permissions invoke the following command on the Fox before the first operation:
# chmod 0777 /mnt/flash/root

This example works starting from FOX Board SDK version 205. Update your SDK with ./sdk_update command.

Related links