PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
# make menuconfigSelect your FOX Board model and enable the PHP support from this menu:
Applications --> Applications --> [*] Enable PHP 5.0.5Save, exit and type:
# ./configure ... # make ...
After a while flash your FOX Board (see How to reflash a FOX Board) and see an example of php page on http://192.168.0.90.
<? phpinfo(); ?>
Copy it on FOX Board into /mnt/flash/root (your DocumentRoot) and add the execution flag typing:
# chmod +x phpinfo.php
Now run it from your browser using this URL http://192.168.0.90/phpinfo.php
Web page generated with phpinfo()
Click to see the whole page
This example works starting from FOX Board SDK version 205. Update your SDK with ./sdk_update command.