From 9f2448ea8b2528dd79108242ac46f011eba80c82 Mon Sep 17 00:00:00 2001 From: Kamil Kaminski Date: Mon, 16 Jan 2023 15:24:31 -0600 Subject: tiny php fastcgi and fpm php5 configs --- .../php5_fastcgi_nonwrappercall.conf | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf (limited to 'tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf') diff --git a/tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf b/tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf new file mode 100644 index 0000000..b94993d --- /dev/null +++ b/tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf @@ -0,0 +1,29 @@ + + AddHandler php-fastcgi .php + AddType application/x-httpd-php .php + DirectoryIndex index.php index.html + Action php-fastcgi /cgi-bin/fastcgi-php-wrapper + + # below SetHandler is not needed but nice for shebanged .sh or .pl scripts + SetHandler cgi-script + Options +FollowSymLinks +ExecCGI + + +# +# # with this i enable php via fastcgi server wide, might want to narrow it down to specific vhosts +# # SetHandler is am override, redundant here since AddHandler already registered .php extension +# SetHandler php-fastcgi +# # below probably redundant since it looks like only the wrapper needs this bit ON +# Options +ExecCGI +# + + + + +# almost worked, blew up on: +# +# mod_fastcgi: error reading data from FastCGI server +# [Sun Nov 30 01:00:59.663064 2014] [core:error] [pid 11886] [client ::1:46027] End of script output before headers: php-fastcgi-wrapper +# +# what a fucking joke + -- cgit v1.2.3