]> git.pld-linux.org Git - packages/php4.git/blob - php4-cgi-fcgi.ini
- move sapi options to sapi config
[packages/php4.git] / php4-cgi-fcgi.ini
1 ; php-cgi-fcgi.ini - configuration used only for cgi-fcgi SAPI
2 ;
3 ; Please note that, unlikely in original php distributions, this file
4 ; is read AFTER (not instead of) reading global /etc/php/php.ini.
5 ;
6 ; It allows you to control global settings for all SAPIs in one place
7 ; and override some settings in SAPI-specific files without need of
8 ; copying whole large php.ini.
9
10 ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
11 ; most web servers.  Left undefined, PHP turns this on by default.  You can
12 ; turn it off here AT YOUR OWN RISK
13 ; **You CAN safely turn this off for IIS, in fact, you MUST.**
14 ; cgi.force_redirect = 1
15
16 ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
17 ; every request.
18 ; cgi.nph = 1
19
20 ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
21 ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
22 ; will look for to know it is OK to continue execution.  Setting this variable MAY
23 ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
24 ; cgi.redirect_status_env = ;
25
26 ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
27 ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
28 ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
29 ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
30 ; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
31 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
32 ; cgi.fix_pathinfo=0
33
34 ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
35 ; security tokens of the calling client.  This allows IIS to define the
36 ; security context that the request runs under.  mod_fastcgi under Apache
37 ; does not currently support this feature (03/17/2002)
38 ; Set to 1 if running under IIS.  Default is zero.
39 ; fastcgi.impersonate = 1;
40
41 ; Disable logging through FastCGI connection
42 ; fastcgi.log = 0
43
44 ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
45 ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
46 ; is supported by Apache. When this option is set to 1 PHP will send
47 ; RFC2616 compliant header.
48 ; Default is zero.
49 ;cgi.rfc2616_headers = 0 
50
51 [Session]
52 session.save_path         = /tmp    ; argument passed to save_handler
53                                     ; in the case of files, this is the
54                                     ; path where data files are stored
55
This page took 0.024715 seconds and 3 git commands to generate.