Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : HTTP : Configuration

Configuration

http module configuration directives ()

Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Table 110. HTTP Configuration Options

Name Default Changeable Description
http.etag.mode "MD5" PHP_INI_ALL The hashing algorithm used to generate the ETag. MD5, SHA1, and CRC32 are always available. If the hash xtension is enabled, any hashing algorithms this extension provides are available, too.
http.log.cache "" PHP_INI_ALL The path (or stream wrapper url) to a log file in which to write successful cache hits.
http.log.redirect "" PHP_INI_ALL The path (or stream wrapper url) to a log file in which to write redirects.
http.log.not_found "" PHP_INI_ALL The path (or stream wrapper url) to a log file in which to write "file not found" errors.
http.log.allowed_methods "" PHP_INI_ALL The path (or stream wrapper url) to a log file in which to write "allowed methods" violations.
http.log.composite "" PHP_INI_ALL The path (or stream wrapper url) to a log file in which to write all events.
http.request.methods.allowed "" PHP_INI_ALL Allowed request methods. If a client issues a request with a request method other than listed here, PHP exits with a status of "405 Method not allowed". See the INI setting http.force_exit for what "exits" means.
http.request.methods.custom "" PHP_INI_PERDIR|PHP_INI_SYSTEM Custom request methods. If you want to use any non-standard request methods, you can register them with this INI setting or http_request_method_register().
http.request.datashare.cookie "0" PHP_INI_SYSTEM Whether the global HttpRequestDataShare should by default share cookie information.
http.request.datashare.dns "1" PHP_INI_SYSTEM Whether the global HttpRequestDataShare should by default share name lookup information.
http.request.datashare.ssl "0" PHP_INI_SYSTEM Whether the global HttpRequestDataShare should by default share SSL session information. This is not yet implemented in libcurl.
http.request.datashare.connect "0" PHP_INI_SYSTEM Whether the global HttpRequestDataShare should by default share connect information. This is not yet implemented in libcurl.
http.persistent.handles.limit "-1" PHP_INI_SYSTEM The maximum amount of persistent handles to keep alive.
http.persistent.handles.ident "GLOBAL" PHP_INI_ALL The ident of persistent handles.
http.send.inflate.start_auto "0" PHP_INI_PERDIR|PHP_INI_SYSTEM Whether to automatically start the inflate output handler.
http.send.inflate.start_flags "0" PHP_INI_ALL Initialization settings for the inflate output handler.
http.send.deflate.start_auto "0" PHP_INI_PERDIR|PHP_INI_SYSTEM Whether to automatically start the deflate output handler.
http.send.deflate.start_flags "0" PHP_INI_ALL Initialization settings for the deflate output handler. See deflate constants.
http.send.not_found_404 "1" PHP_INI_ALL Whether to automatically exit with a status of "404 Not found", if http_send_file() was not able to find the specified file. See the INI setting http.force_exit for what "exits" means.
http.only_exceptions "0" PHP_INI_ALL Whether all notices/warnings/errors should be thrown as exceptions.
http.force_exit "1" PHP_INI_ALL Each occasion where "exits with a status of..." is mentioned, usually causes the halt of the scripting engine. Disable this option if you alternatively want to start a discarding (dev/null) output handler and continue script execution.


Related Examples ( Source code ) » http.configuration


Change Language


Follow Navioo On Twitter
Installation
Configuration
Resources
Constants
Request Options
HttpMessage
HttpMessage::__construct
HttpMessage::factory
HttpMessage::fromEnv
HttpMessage::fromString
HttpMessage::toString
HttpMessage::toMessageTypeObject
HttpMessage::guessContentType
HttpMessage::detach
HttpMessage::prepend
HttpMessage::reverse
HttpMessage::send
HttpMessage::getParentMessage
HttpMessage::getType
HttpMessage::setType
HttpMessage::getHttpVersion
HttpMessage::setHttpVersion
HttpMessage::getHeaders
HttpMessage::getHeader
HttpMessage::addHeaders
HttpMessage::setHeaders
HttpMessage::getBody
HttpMessage::setBody
HttpMessage::getRequestMethod
HttpMessage::setRequestMethod
HttpMessage::getRequestUrl
HttpMessage::setRequestUrl
HttpMessage::getResponseCode
HttpMessage::setResponseCode
HttpMessage::getResponseStatus
HttpMessage::setResponseStatus
HttpQueryString
HttpQueryString::__construct
HttpQueryString::singleton
HttpQueryString::get
HttpQueryString::mod
HttpQueryString::set
HttpQueryString::toArray
HttpQueryString::toString
HttpQueryString::xlate
HttpDeflateStream
HttpDeflateStream::factory
HttpDeflateStream::__construct
HttpDeflateStream::update
HttpDeflateStream::flush
HttpDeflateStream::finish
HttpInflateStream
HttpInflateStream::factory
HttpInflateStream::__construct
HttpInflateStream::update
HttpInflateStream::flush
HttpInflateStream::finish
HttpRequest
HttpRequest::addCookies
HttpRequest::addHeaders
HttpRequest::addPostFields
HttpRequest::addPostFile
HttpRequest::addPutData
HttpRequest::addQueryData
HttpRequest::addRawPostData
HttpRequest::addSslOptions
HttpRequest::clearHistory
HttpRequest::__construct
HttpRequest::enableCookies
HttpRequest::getContentType
HttpRequest::getCookies
HttpRequest::getHeaders
HttpRequest::getHistory
HttpRequest::getMethod
HttpRequest::getOptions
HttpRequest::getPostFields
HttpRequest::getPostFiles
HttpRequest::getPutData
HttpRequest::getPutFile
HttpRequest::getQueryData
HttpRequest::getRawPostData
HttpRequest::getRawRequestMessage
HttpRequest::getRawResponseMessage
HttpRequest::getRequestMessage
HttpRequest::getResponseBody
HttpRequest::getResponseCode
HttpRequest::getResponseCookies
HttpRequest::getResponseData
HttpRequest::getResponseHeader
HttpRequest::getResponseInfo
HttpRequest::getResponseMessage
HttpRequest::getResponseStatus
HttpRequest::getSslOptions
HttpRequest::getUrl
HttpRequest::resetCookies
HttpRequest::send
HttpRequest::setContentType
HttpRequest::setCookies
HttpRequest::setHeaders
HttpRequest::setMethod
HttpRequest::setOptions
HttpRequest::setPostFields
HttpRequest::setPostFiles
HttpRequest::setPutData
HttpRequest::setPutFile
HttpRequest::setQueryData
HttpRequest::setRawPostData
HttpRequest::setSslOptions
HttpRequest::setUrl
HttpRequestPool
HttpRequestPool::attach
HttpRequestPool::__construct
HttpRequestPool::__destruct
HttpRequestPool::detach
HttpRequestPool::getAttachedRequests
HttpRequestPool::getFinishedRequests
HttpRequestPool::reset
HttpRequestPool::send
HttpRequestPool::socketPerform
HttpRequestPool::socketSelect
HttpResponse
HttpResponse::capture
HttpResponse::getBufferSize
HttpResponse::getCacheControl
HttpResponse::getCache
HttpResponse::getContentDisposition
HttpResponse::getContentType
HttpResponse::getData
HttpResponse::getETag
HttpResponse::getFile
HttpResponse::getGzip
HttpResponse::getHeader
HttpResponse::getLastModified
HttpResponse::getStream
HttpResponse::getThrottleDelay
HttpResponse::getRequestBody
HttpResponse::getRequestBodyStream
HttpResponse::getRequestHeaders
HttpResponse::guessContentType
HttpResponse::redirect
HttpResponse::send
HttpResponse::setBufferSize
HttpResponse::setCacheControl
HttpResponse::setCache
HttpResponse::setContentDisposition
HttpResponse::setContentType
HttpResponse::setData
HttpResponse::setETag
HttpResponse::setFile
HttpResponse::setGzip
HttpResponse::setHeader
HttpResponse::setLastModified
HttpResponse::setStream
HttpResponse::setThrottleDelay
HttpResponse::status
http_cache_etag
http_cache_last_modified
http_chunked_decode
http_deflate
http_inflate
http_get_request_body_stream
http_get_request_body
http_get_request_headers
http_date
http_support
http_match_etag
http_match_modified
http_match_request_header
http_build_cookie
http_negotiate_charset
http_negotiate_content_type
http_negotiate_language
ob_deflatehandler
ob_etaghandler
ob_inflatehandler
http_parse_cookie
http_parse_headers
http_parse_message
http_parse_params
http_persistent_handles_count
http_persistent_handles_ident
http_persistent_handles_clean
http_get
http_head
http_post_data
http_post_fields
http_put_data
http_put_file
http_put_stream
http_request_method_exists
http_request_method_name
http_request_method_register
http_request_method_unregister
http_request
http_request_body_encode
http_redirect
http_send_content_disposition
http_send_content_type
http_send_data
http_send_file
http_send_last_modified
http_send_status
http_send_stream
http_throttle
http_build_str
http_build_url
eXTReMe Tracker