Results of 1 - 10 of about 54 for requests (0.001 sec.)
- Lighttpd 1.4 (Unix システム用) | PHP 8.3 10991
- Lighttpd 1.4 (Unix システム用) ここでは、Unix システム上の Lighttpd 1.4 で PHP を使用する際の注意点とヒントをまとめます。 まず » Lighttpd trac で Lighttpd のインストール方法をよく読んでからこれ以降に進みましょう。 PHP と Lighttpd を組み合わ
... tmp/php.socket", "bin-path" => "/usr/local/bin/php-cgi", "bin-environment" => ( "PHP_FCGI_CHILDREN" => "16", "PHP_FCGI_MAX_REQUESTS" => "10000" ), "min-procs" => 1, "max-procs" => 1, "idle-timeout" => 20 )) ) bin-path ディレクティブにより、lighttpd が Fa ... プロセスを起動します。 bin-environment ディレクティブは、起動するプロセスの環境を設定します。 リクエストの数が PHP_FCGI_MAX_REQUESTS の値に達すると、 PHP は子プロセスを kill します。ディレクティブ min-procs および max-procs は、PHP での使用は避けるべきです ... 多少難易度が上がります。 環境変数 PHP_FCGI_CHILDREN で、PHP がリクエストの処理用に起動する子の数を設定します。 PHP_FCGI_MAX_REQUESTS は、各子プロセスの生存期間 (リクエスト数) を設定します。php レスポンダを起動するシンプルな bash スクリプトの例を以下に示し ...
-
https://man.mtool.work/php/8.3/install.unix.lighttpd-14.html
- EventHttp::setCallback — Sets a callback for specified URI | PHP 8.3 10428
- EventHttp::setCallback (PECL event >= 1.4.0-beta) EventHttp::setCallback — Sets a callback for specified URI 説明 public function EventHttp::setCallback ( string $path , string $cb , string $arg = ? ): void Sets a callback for specified URI
... erver outputs on the previous terminal window. */ function _http_dump ( $req , $data ) { static $counter = 0 ; static $max_requests = 2 ; if (++ $counter >= $max_requests ) { echo "Counter reached max requests $max_requests . Exiting\n" ; exit(); } echo ... pe: text/html; charset=ISO-8859-1 Connection: close 参考 EventHttp::setDefaultCallback() - Sets default callback to handle requests that are not caught by specific callbacks 他のマニュアルの関連ページ Python http FastAPI Behind a Proxy FastAPI ミドルウェ ...
-
https://man.mtool.work/php/8.3/eventhttp.setcallback.html
- MongoDB\Driver\WriteConcern::__construct — Create a new WriteConcern | PHP 8.3 10428
- MongoDB\Driver\WriteConcern::__construct (mongodb >=1.0.0) MongoDB\Driver\WriteConcern::__construct — Create a new WriteConcern 説明 final public function MongoDB\Driver\WriteConcern::__construct ( string | int $w , ? int $wtimeout = null ,
... cts a new MongoDB\Driver\WriteConcern , which is an immutable value object. パラメータ w Write concern Value Description 1 Requests acknowledgement that the write operation has propagated to the standalone mongod or the primary in a replica set. This is ... the default write concern for MongoDB. 0 Requests no acknowledgment of the write operation. However, this may return information about socket exceptions and networking erro ... to request acknowledgement from specified number of members, including the primary. MongoDB\Driver\WriteConcern::MAJORITY Requests acknowledgment that write operations have propagated to the majority of voting nodes, including the primary, and have been ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcern.construct.html
- 例 | PHP 8.3 10161
- 例 The examples below walk through a complete service: a server that exposes a few arithmetic methods, a synchronous client that calls them, a client that fans several calls out concurrently, and a client that talks to a server over TCP. 例
... y hidden from clients. The doc comments of the public methods are collected and shown on the service information page. RPC requests arrive as HTTP POST requests carrying a binary Yar protocol payload, so the script is usually mapped to a URI on a regular ... responses are passed to the callback in the order they arrive, not in the order the calls were registered. Right after all requests have been sent, the callback is invoked once with null arguments so that the caller knows no further request is pending; t ... ample below checks for this notification. <?php function callback ( $ret , $callinfo ) { if ( $callinfo == NULL ) { /* all requests are sent, waiting for the responses */ return; } echo $callinfo [ 'method' ], " result: " , $ret , "\n" ; } function error ...
-
https://man.mtool.work/php/8.3/yar.examples.html
- ZMQSocket::__construct — Construct a new ZMQSocket | PHP 8.3 9597
- ZMQSocket::__construct (PECL zmq >= 0.5.0) ZMQSocket::__construct — Construct a new ZMQSocket 説明 public function ZMQSocket::__construct ( ZMQContext $context , int $type , string $persistent_id = null , callable $on_new_socket = null ) Co
... persistent socket. A persistent socket has to be allocated from a persistent context and it stays connected over multiple requests. The persistent_id parameter can be used to recall the same socket over multiple requests. The on_new_socket is called onl ... type. See ZMQ::SOCKET_ * constants. persistent_id If persistent_id is specified the socket will be persisted over multiple requests. If context is not persistent the socket falls back to non-persistent mode. on_new_socket Callback function, which is exec ...
-
https://man.mtool.work/php/8.3/zmqsocket.construct.html
- SolrQuery::addStatsFacet — Requests a return of sub results for values within t... 9463
- SolrQuery::addStatsFacet (PECL solr >= 0.9.2) SolrQuery::addStatsFacet — Requests a return of sub results for values within the given facet 説明 public function SolrQuery::addStatsFacet ( string $field ): SolrQuery Requests a return of sub
...
-
https://man.mtool.work/php/8.3/solrquery.addstatsfacet.html
- 要件 | PHP 8.3 9330
- 要件 You need to install librrd first to be able to use PECL/rrd. Most common option is using of librrd-dev package from your favourite Linux distro. PECL/rrd is tested with librrd 1.4.3, older or newer versions might or might not work for
... It can be dangerous use this extension in multi threaded environments like Apache2 mpm worker. If there are many parallel requests, one request can change some global librrd state of other runnig requests. 他のマニュアルの関連ページ Python mac DuckDB Vo ...
-
https://man.mtool.work/php/8.3/rrd.requirements.html
- 実行時設定 | PHP 8.3 9330
- 実行時設定 php.ini の設定により動作が変化します。 Yar 設定オプション 名前 デフォルト 変更可能 変更履歴 yar.connect_timeout 1000 INI_ALL yar.content_type application/octet-stream INI_ALL yar.debug Off INI_ALL yar.expose_info On INI_PERDIR ya
... mestamp. yar.expose_info bool Whether Yar_Server::handle() outputs the service information page for non-POST (usually GET) requests. When this directive is off, such requests throw a Yar_Server_Exception instead. yar.packager string The default packager ... TLS certificate of HTTPS servers. When on, the curl transport sets CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST , and requests to servers with invalid certificates fail. Off by default for backward compatibility. Available as of Yar 2.4.0. yar.timeo ...
-
https://man.mtool.work/php/8.3/yar.configuration.html
- EventHttp::setAllowedMethods — Sets which HTTP methods are supported in request... 9182
- EventHttp::setAllowedMethods (PECL event >= 1.4.0-beta) EventHttp::setAllowedMethods — Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks 説明 public function EventHttp::setAllowedMethods
... ( int $methods ): void Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks If not supported they will generate a "405 Method not allowed" respo ...
-
https://man.mtool.work/php/8.3/eventhttp.setallowedmethods.html
- EventHttp::__construct — Constructs EventHttp object (the HTTP server) | PHP 8.... 9048
- EventHttp::__construct (PECL event >= 1.2.6-beta) EventHttp::__construct — Constructs EventHttp object (the HTTP server) 説明 public function EventHttp::__construct ( EventBase $base , EventSslContext $ctx = null ) Constructs the HTTP serve
... erver outputs on the previous terminal window. */ function _http_dump ( $req , $data ) { static $counter = 0 ; static $max_requests = 2 ; if (++ $counter >= $max_requests ) { echo "Counter reached max requests $max_requests . Exiting\n" ; exit(); } echo ...
-
https://man.mtool.work/php/8.3/eventhttp.construct.html