<Directory /home/*/public_html>
AllowOverride All
<FilesMatch "\.fpl$">
SetHandler fcgid-script
Options +ExecCGI
Order allow,deny
Allow from all
</FilesMatch>
</Directory>
#!/bin/sh
# Wrapper for PHP-fcgi
# This wrapper can be used to define settings before launching the PHP-fcgi binary.
# Define the path to php.ini. This defaults to /etc/phpX/cgi.
#export PHPRC=/var/www/fcgi-bin.d/php5-web01/phprc
export PHPRC=/etc/php5/cgi
# Define the number of PHP childs that will be launched. Leave undefined to let PHP decide.
# export PHP_FCGI_CHILDREN=4
# Maximum requests before a process is stopped and a new one is launched
# export PHP_FCGI_MAX_REQUESTS=4096
# Launch the PHP CGI binary
# This can be any other version of PHP which is compiled with FCGI support.
exec /usr/bin/php5-cgi