X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=php-cgi-fcgi.ini;fp=php-cgi-fcgi.ini;h=809c7d3aa49a7ee32d78afeb1542608e4d4b54b2;hb=47130bb86ff82df6ba9ec83597ffeacabc1d888a;hp=0000000000000000000000000000000000000000;hpb=72ad6add086b462795ce6d3a9a6ca5f8d8410b03;p=packages%2Fphp.git diff --git a/php-cgi-fcgi.ini b/php-cgi-fcgi.ini new file mode 100644 index 0000000..809c7d3 --- /dev/null +++ b/php-cgi-fcgi.ini @@ -0,0 +1,50 @@ +; php-cgi-fcgi.ini - configuration used only for cgi-fcgi SAPI +; +; Please note that, unlikely in original php distributions, this file +; is read AFTER (not instead of) reading global /etc/php/php.ini. +; +; It allows you to control global settings for all SAPIs in one place +; and override some settings in SAPI-specific files without need of +; copying whole large php.ini. + +[PHP] +; Disable logging through FastCGI connection +; See http://bugs.php.net/bug.php?id=28074 +; fastcgi.logging = 0 + +; 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.** +; cgi.force_redirect = 1 + +; if cgi.nph is enabled it will force cgi to always sent Status: 200 with +; every request. +; cgi.nph = 1 + +; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape +; (iPlanet) web servers, you MAY need to set an environment variable name that PHP +; will look for to know it is OK to continue execution. Setting this variable MAY +; cause security issues, KNOW WHAT YOU ARE DOING FIRST. +; cgi.redirect_status_env = ; + +; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's +; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok +; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting +; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting +; of zero causes PHP to behave as before. Default is 1. You should fix your scripts +; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. +cgi.fix_pathinfo=1 + +; cgi.rfc2616_headers configuration option tells PHP what type of headers to +; use when sending HTTP response code. If it's set 0 PHP sends Status: header that +; is supported by Apache. When this option is set to 1 PHP will send +; RFC2616 compliant header. +; Default is zero. +;cgi.rfc2616_headers = 0 + +[Session] +session.save_path = /tmp ; argument passed to save_handler + ; in the case of files, this is the + ; path where data files are stored +