|
Appweb provides a PHP module for the high performance execution of PHP applications and
scripts. You may use the supplied PHP library or you can replace it with a custom PHP build of
your own choosing. Alternatively, you can even run PHP using the CGI interface if you have your
own PHP program that you wish use.
PHP is enabled by default in the Appweb configuration file and is loaded via the LoadModule configuration directive. LoadModule php5 libphp5Module If you are using PHP version 4, replace the "5"s in the above example with "4"s. Appweb
supplies both a PHP4 and a PHP5 module. To use PHP, you need to create a web document with a
".php" extension. When your browser requests this page, Appweb will automatically invoke PHP to
process the page.
If you wish to use PHP via CGI, see the Using PHP via CGI section below.
PHP is a widely-used, general-purpose scripting language that
is especially suited for enterprise Web development. It provides an object oriented programming
language, numerous extensions and a broad developer community. The power of PHP comes at a
price, it typically has a memory footprint of 1-2 MB for the PHP code alone and can be quite
large (> 5MB) for large applications. For embedded systems, this is often too
big and so we recommend using Embedded Server Pages for such systems.
|
Quick Nav
When to Use PHPRelease Details Using PHP via CGI See AlsoUser Guide OverviewAppweb Architecture Configuring Appweb Configuration Directives Ports and Binding Authorization Secure Sockets Layer (SSL) Virtual Hosts Creating Dynamic Web Pages Embedded Server Pages Using Embedded JavaScript Using CGI Loadable Modules Handlers HTTP Client |