The configuration community:
Search the Site:

PHP

upload_tmp_dir

Information

The temporary directory used for storing files when doing file upload. Must be writable by whatever user PHP is running as. If not specified PHP will use the system's default.

Syntax

Example

cgi.check_shebang_line

Information

Controls whether CGI PHP checks for line starting with #! (shebang) at the top of the running script. This line might be needed if the script support running both as stand-alone script and via PHP CGI. PHP in CGI mode skips this line and ignores its content if this directive is turned on.

Syntax

Example

session.auto_start

Information

session.auto_start specifies whether the session module starts a session automatically on request startup. Defaults to 0 (disabled).

Syntax

Example

sql.safe_mode

Information

If turned on database connect functions that specify default values will use those values in place of supplied arguments. For default values see connect function documentation for the relevant database.

Syntax

Example

cgi.force_redirect

Information

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 at your own risk.

Syntax

Example

session.gc_divisor

Information

session.gc_divisor coupled with session.gc_probability defines the probability that the gc (garbage collection) process is started on every session initialization. The probability is calculated by using gc_probability gc_divisor e.g. 1 100 means there is a 1% chance that the GC process starts on each request. session.gc_divisor defaults to 100.

Syntax

Example

include_path

Information

Specifies a list of directories where the require() include() fopen() file() readfile() and file_get_contents() functions look for files. The format is like the system's PATH environment variable: a list of directories separated with a colon in Unix or semicolon in Windows.

Syntax

Example

debugger.port

Information

Port number used by the debugger.

Syntax

Example

fastcgi.impersonate

Information

FastCGI under IIS (on WINNT based OS) supports the ability to impersonate security tokens of the calling client. This allows IIS to define the security context that the request runs under. mod_fastcgi under Apache does not currently support this feature (03 17 2002) Set to 1 if running under IIS. Default is zero.

Syntax

Example

session.serialize_handler

Information

session.serialize_handler defines the name of the handler which is used to serialize deserialize data. Currently a PHP internal format (name php) and WDDX are supported (name wddx). WDDX is only available if PHP is compiled with WDDX support. Defaults to php.

Syntax

Example

Syndicate content
728x90