doc:php

Table of Contents

php.ini

expose_php = Off
disable_functions = dl,phpinfo,shell_exec,passthru,exec,popen,system,proc_get_status,proc_nice,proc_open,proc_terminate,proc_close

FastCGI

Thank far for providing this configuration.

Apache

ScriptAlias /php-fcgi "/usr/local/bin/php-cgi"
FastCgiServer "/usr/local/bin/php-cgi" -initial-env PHP_FCGI_CHILDREN=16

<Location /php-fcgi>
    Options ExecCGI FollowSymLinks
    SetHandler fastcgi-script
    Order allow,deny
    Allow from all
</Location>

Action application/x-httpd-php /php-fcgi 

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
doc/php.txt · Last modified: 2008/08/22 14:01 by 140.112.30.52