Examples of using Context options in English and their translations into Russian
{-}
-
Official
-
Colloquial
Context options for phar:// wrapper.
Array of options as in context options and parameters.
Context options for mongodb:// transports.
A list of wrapper specific options can be found in the Context options and parameters chapter.
These include enabling peer verification by default, supporting certificate fingerprint matching, mitigating against TLS renegotiation attacks, andmany new SSL context options to allow more fine grained control over protocol and verification settings when using encrypted streams.
SSL context options- SSL context option listing.
PHP encrypted server streams using certificates capable of perfect forward secrecy do not need to take any additional action to enable PFS;however a number of new SSL context options have been added to allow more control over PFS and deal with any compatibility issues that may arise.
Zip context options- Zip context option listing.
Zip context options- Zip context option listing.
HTTP context options- HTTP context option listing.
CURL context options- CURL context option listing.
HTTP context options- HTTP context option listing.
Phar context options- Phar context option listing.
HTTP context options- HTTP context option listing.
FTP context options- FTP context option listing.
Socket context options- Socket context option listing.
MongoDB context options- MongoDB context option listing.
Refer to context options and parameters for a listing of stream options. .
Socket context options are available for all wrappers that work over sockets, like tcp, http and ftp.
CURL context options are available when the CURL extension was compiled using the--with-curlwrappers configure option.
The tcp_nodelay stream context option has been added.
The zip:// stream now accepts a'password' context option.
This value will only be used if user-agent is not specified in the header context option above.
PHP 5.4.13 added a disable_compression context option to allow compression to be disabled: this is now set to TRUE(that is, compression is disabled) by default.
The honor_cipher_order SSL context option has been added to allow encrypted stream servers to mitigate BEAST vulnerabilities by preferring the server's ciphers to the client's.
If the remote file already exists on the ftp server and you attempt to open it for writing buthave not specified the context option overwrite, the connection will fail.
While not recommended in general, it is possible to disable peer certificate verification for a request by setting the verify_peer context option to FALSE, and to disable peer name validation by setting the verify_peer_name context option to FALSE.
It is now possible to select specific versions of SSL and TLS via the crypto_method SSL context option or by specifying a specific transport when creating a stream wrapper for example, by calling stream_socket_client() or stream_socket_server.