Name:
PHP4
Description:
Wrapper for the PHP4 embedded script interpreter.
The PHP4 Pi3 component is implemented using PHP4 Core Web Server API
(SAPI), thus -
"This product includes software written by the PHP Development Team."
Options:
Option | Default | Values | Short Description | Example(s) |
---|---|---|---|---|
ExtraHeadersPrefix | - | "HTTP_" | Prefix for HTTP extra request headers | ExtraHeadersPrefix "HTTP_" |
PHPMode | - | Either "Standard", "Highlight", "Indent" or "SyntaxCheck" | Switch PHP to intended or highlight mode | PHPMode "Highlight" |
Phase:
HANDLE
Returns:
PIAPI_COMPLETED, PIAPI_CONTINUE, PIAPI_ERROR, or INT_REDIRECT according
to the status returned by the interpreter.
Note:
This handler requires php4ts.dll 4.04 or greater from the PHP4 Win32 binary
distribution.
The following PHP4 extensions are included in the PHP4-module:
calendar
crypt
dbase
filepro
gd
imap
ldap
msql
mssql
mysql
odbc
standard
zlib
AUTH_TYPE
CONTENT_LENGTH
CONTENT_TYPE
GATEWAY_INTERFACE
PATH_INFO
PATH_TRANSLATED
QUERY_STRING
REQUEST_METHOD
REMOTE_ADDR
REMOTE_HOST
REMOTE_USER
SCRIPT_NAME
SERVER_NAME
SERVER_PORT
SERVER_PROTOCOL
SERVER_SOFTWARE
ALL_HTTP
Example:
<Object> Name PHP4 Class PHP4Class </Object> <Object> ... Handle Condition="&cmp($c,text/x-php3)" PHP4 ... </Object>