From 6d1f9cc869d62f17230b3174f320bad4f2d1c435 Mon Sep 17 00:00:00 2001 From: onefang Date: Sat, 4 Jan 2020 17:28:24 +1000 Subject: Work with CGI PHP. --- cgi/php.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cgi/php.ini (limited to 'cgi/php.ini') diff --git a/cgi/php.ini b/cgi/php.ini new file mode 100644 index 0000000..7c53490 --- /dev/null +++ b/cgi/php.ini @@ -0,0 +1,10 @@ +[PHP] + +; cgi.force_redirect is necessary to provide security running PHP as a CGI under +; most web servers. Left undefined, PHP turns this on by default. You can +; turn it off here AT YOUR OWN RISK +; **You CAN safely turn this off for IIS, in fact, you MUST.** +; ** Seems the same thing applies to thttpd, you MUST turn it off. ** +; http://php.net/cgi.force-redirect +;cgi.force_redirect = 1 +cgi.force_redirect = 0 -- cgit v1.1