Using PHP 5 on the CSAIL Web servers
The main CSAIL Web described at WebServerArchitecture
run PHP 5.2 as of January 2012, soon to be PHP 5.3. Files with extensions
will be handled by PHP via FastCGI.
As of PHP 5.3 (available mid-February 2012), you can customize the PHP configuration your scripts will see by creating a file named
in the same directory as your PHP scripts, or a higher directory that's within the same web-accessible space. The only valid comment character in this file is the semicolon (;
Manual entries include .user.ini files
and List of php.ini directives
PHP and .htaccess files
files are used to customize Apache behavior on a per-directory basis. See HtaccessHints
for general background.
PHP 5 and SSL variables
If your script depends on being able to get SSL client information from the environment (e.g., with "SSLOptions +StdEnvVars
" in your
file), the prefix
is prepended to all of their names when invoking a PHP (but not regular CGI) script. For example,
is known as
in PHP scripts.