# # with FastCgiWrapper I'm running into weird perm issue # -> might need to look at suexec? # DirectoryIndex index.php index.html AddType application/x-httpd-php .php AddHandler fastcgi-script .php FastCgiWrapper /srv/http/cgi-bin/fastcgi-php-wrapper Options +FollowSymLinks +ExecCGI Options +ExecCGI # # # chown -R http.http /srv/http/cgi-bin/ # cat /srv/http/cgi-bin/fastcgi-php-wrapper # # #!/usr/bin/env bash # # PHP_FCGI_MAX_REQUESTS=1000 # export PHP_FCGI_MAX_REQUESTS # # exec /usr/bin/php-cgi