Sys Admin TQM Checklist

Apache

Modules

Global Configuration

IndexOptions FancyIndexing NameWidth=* SuppressDescription
ServerTokens Prod
TraceEnable off
ServerSignature Off
HostnameLookups Off
EnableMMAP On
EnableSendfile On
FileEtag INode MTime Size
ContentDigest On

MPM Prefork + mod_php

IfModule in .htaccess for compatiblity

It would be better if they were in php.ini or using ini_set() in code.

<IfModule mod_php5.c>
php_value include_path ".:/usr/local/lib/php"
</IfModule

MPM Worker + PHP CGI

AddType text/html .php .phps
AddHandler php-fastcgi .php .htm .html .js
AddHandler php-fastcgi-source .phps
Action php-fastcgi /cgi-bin/php.fcgi
Action php-fastcgi-source /cgi-bin/phps.fcgi
DirectoryIndex index.php index.html

SSL

VirtualHosts

NameVirtualHost *:80
NameVirtualHost *:443