====== 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 Options ExecCGI FollowSymLinks SetHandler fastcgi-script Order allow,deny Allow from all Action application/x-httpd-php /php-fcgi AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps