« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 52 for Ping (0.002 sec.)
mysqli::ping — サーバーとの接続をチェックし、もし切断されている場合は再接続を試... 11589
mysqli::ping mysqli_ping (PHP 5, PHP 7, PHP 8) mysqli::ping -- mysqli_ping — サーバーとの接続をチェックし、もし切断されている場合は再接続を試みる 警告 この関数は PHP 8.4.0 で 非推奨 になります。この関数に頼らないことを強く推奨します。 説明 ... 'because the reconnect feature has been removed in PHP 8.2 and this method is now redundant' , )] public function mysqli::ping (): bool 手続き型 #[ \Deprecated ( since : '8.4' , message : 'because the reconnect feature has been removed in PHP 8.2 an ... d this function is now redundant' , )] function mysqli_ping ( mysqli $mysql ): bool サーバーとの接続が動作中かどうかを確かめます。もし切断されており、 グローバルオプション mysqli.rec ... ORT_STRICT に設定されていた場合は、 mysqli_sql_exception が代わりにスローされます。 変更履歴 バージョン 説明 8.4.0 mysqli::ping() と mysqli_ping() は非推奨となりました。 reconnect 機能は PHP 8.2.0 で廃止されたため、この関数はもはや必要ありません。 例 ...
https://man.mtool.work/php/8.3/mysqli.ping.html
imap_ping — IMAP ストリームがアクティブかどうかを調べる | PHP 8.3 11350
imap_ping (PHP 4, PHP 5, PHP 7, PHP 8) imap_ping — IMAP ストリームがアクティブかどうかを調べる 説明 function imap_ping ( IMAP\Connection $imap ): bool imap_ping() はストリームに ping を行い、 まだアクティブであるかどうかを調べます。これによ ... インスタンスを期待するようになりました。 これより前のバージョンでは、有効な imap resource が期待されていました。 例 例1 imap_ping() の例 <?php $imap = imap_open ( "{imap.example.org}" , "mailadmin" , "password" ); // しばらく休んだ後 if (! imap_ping ( ... $imap )) { // 再接続の処理 } ?> 他のマニュアルの関連ページ Linux JM ping(8) Linux JM biff(1) Docker swarm で実行中のサービスを削除 Docker コンテナのネットワーク Linux JM fwide(3) Docker オーケスト ...
https://man.mtool.work/php/8.3/function.imap-ping.html
cubrid_ping — Ping a server connection or reconnect if there is no connection |... 11291
cubrid_ping (PECL CUBRID >= 8.3.1) cubrid_ping — Ping a server connection or reconnect if there is no connection 説明 function cubrid_ping ( resource $conn_identifier = ? ): bool Checks whether or not the connection to the server is working ... nnect() is assumed. 戻り値 Returns true if the connection to the CUBRID server is working, otherwise false . 例 例1 cubrid_ping() example <?php set_time_limit ( 0 ); $conn = cubrid_connect ( 'localhost' , 33000 , 'demodb' ); /* Assuming this query wi ... 'Query #1 failed, exiting.' ; exit; } /* Make sure the connection is still alive, if not, try to reconnect */ if (! cubrid_ping ( $conn )) { echo 'Lost connection, exiting after query #1' ; exit; } cubrid_free_result ( $result ); /* So the connection ... another query */ $sql2 = "select * from code" ; $result2 = cubrid_query ( $sql2 ); ?> 他のマニュアルの関連ページ Linux JM ping(8) DuckDB Run Queries DuckDB ODBC Extension Functions DuckDB Quack Remote Protocol DuckDB Profile and Monitor DuckDB Impor ...
https://man.mtool.work/php/8.3/function.cubrid-ping.html
The SolrClient class | PHP 8.3 10932
The SolrClient class (PECL solr >= 0.9.2) はじめに Used to send requests to a Solr server. Currently, cloning and serialization of SolrClient instances is not supported. クラス概要 final class SolrClient { /* 定数 */ const int SEARCH_SERVLE ... T_TYPE = 1 ; const int UPDATE_SERVLET_TYPE = 2 ; const int THREADS_SERVLET_TYPE = 4 ; const int PING_SERVLET_TYPE = 8 ; const int TERMS_SERVLET_TYPE = 16 ; const int SYSTEM_SERVLET_TYPE = 32 ; const string DEFAULT_SEARCH_SE ... const string DEFAULT_UPDATE_SERVLET = update ; const string DEFAULT_THREADS_SERVLET = admin/threads ; const string DEFAULT_PING_SERVLET = admin/ping ; const string DEFAULT_TERMS_SERVLET = terms ; const string DEFAULT_SYSTEM_SERVLET = admin/system ; / ... ptimize ( int $maxSegments = 1 , bool $softCommit = true , bool $waitSearcher = true ): SolrUpdateResponse public function ping (): SolrPingResponse public function query ( SolrParams $query ): SolrQueryResponse public function request ( string $raw_ ...
https://man.mtool.work/php/8.3/class.solrclient.html
SolrClient::ping — Checks if Solr server is still up | PHP 8.3 10753
SolrClient::ping (PECL solr >= 0.9.2) SolrClient::ping — Checks if Solr server is still up 説明 public function SolrClient::ping (): SolrPingResponse Checks if the Solr server is still alive. Sends a HEAD request to the Apache Solr server. ... パラメータ この関数にはパラメータはありません。 戻り値 Returns a SolrPingResponse object on success and throws an exception on failure. エラー / 例外 Throws SolrClientException if the client had f ... as a connection issue. Throws SolrServerException if the Solr Server had failed to satisfy the request. 例 例1 SolrClient::ping() example <?php $options = array ( 'hostname' => SOLR_SERVER_HOSTNAME , 'login' => SOLR_SERVER_USERNAME , 'password' => SO ... LR_SERVER_PASSWORD , 'port' => SOLR_SERVER_PORT , ); $client = new SolrClient ( $options ); $pingresponse = $client -> ping (); ?> 上の例の出力は、 たとえば以下のようになります。 他のマニュアルの関連ページ Linux JM ping( ...
https://man.mtool.work/php/8.3/solrclient.ping.html
pg_ping — データベース接続を調べる | PHP 8.3 10514
pg_ping (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) pg_ping — データベース接続を調べる 説明 function pg_ping ( ? PgSql\Connection $connection = null ): bool pg_ping() はデータベース接続を調べ、その接続が 壊れている場合には再度接続を試みます。 パラ ... りました。 これより前のバージョンでは、 resource を期待していました。 8.0.0 connection は、nullable になりました。 例 例1 pg_ping() の例 <?php $conn = pg_pconnect ( "dbname=publisher" ); if (! $conn ) { echo "エラーが発生しました。\n" ; exit; } if (! p ... g_ping ( $conn )) die( "接続は壊れています。\n" ); ?> 参考 pg_connection_status() - 接続ステータスを取得する pg_connection_reset( ... ) - 接続をリセット(再接続)する 他のマニュアルの関連ページ Linux JM ping(8) DuckDB Connect Python sqlite3 Docker swarm で実行中のサービスを削除 Django models DuckDB PostgreSQL Extension ...
https://man.mtool.work/php/8.3/function.pg-ping.html
mysql_ping — サーバーとの接続状況を調べ、接続されていない場合は再接続する | PHP... 9737
mysql_ping (PHP 4 >= 4.3.0, PHP 5) mysql_ping — サーバーとの接続状況を調べ、接続されていない場合は再接続する 警告 この拡張モジュールは PHP 5.5.0 で非推奨になり、PHP 7.0.0 で削除されました。 MySQLi あるいは PDO_MySQL を使うべきです。詳細な情 ... 報は MySQL: API の選択 を参照ください。 この関数の代替として、これらが使えます。 mysqli_ping() 説明 function mysql_ping ( resource $link_identifier = NULL ): bool サーバーとの接続が有効かどうかを調べます。 もし接続が ... ルのエラーが生成されます。 戻り値 MySQL サーバーとの接続が有効な場合に true そうでない場合に false を返します。 例 例1 mysql_ping() の例 <?php set_time_limit ( 0 ); $conn = mysql_connect ( 'localhost' , 'mysqluser' , 'mypass' ); $db = mysql_select_db ( ... ) { echo 'Query #1 failed, exiting.' ; exit; } /* 接続が有効かどうかを確かめる。切断されていたら再接続する */ if (! mysql_ping ( $conn )) { echo 'Lost connection, exiting after query #1' ; exit; } mysql_free_result ( $result ); /* 接続が有効であるこ ...
https://man.mtool.work/php/8.3/function.mysql-ping.html
GearmanClient::ping — Send data to all job servers to see if they echo it back ... 9678
GearmanClient::ping (No version information available, might only be in Git) GearmanClient::ping — Send data to all job servers to see if they echo it back 説明 public function GearmanClient::ping ( string $workload ): bool Sends some arbit ... data to be echo back 戻り値 成功した場合に true を、失敗した場合に false を返します。 他のマニュアルの関連ページ Linux JM ping(8) DuckDB CONNECT and DISCONNECT Statements FastAPI OpenAPI Callbacks Linux JM ftprestart(8) Linux JM lesskey(1) Docker sw ...
https://man.mtool.work/php/8.3/gearmanclient.ping.html
実行時設定 | PHP 8.3 8289
実行時設定 php.ini の設定により動作が変化します。 OCI8 設定オプション 名前 デフォルト 変更可能 変更履歴 oci8.connection_class "" INI_ALL oci8.default_prefetch "100" INI_SYSTEM oci8.events Off INI_SYSTEM oci8.max_persistent "-1" INI_SYSTEM o ... ci8.old_oci_close_semantics Off INI_SYSTEM PHP 8.1.0 以降は非推奨。 oci8.persistent_timeout "-1" INI_SYSTEM oci8.ping_interval "60" INI_SYSTEM oci8.prefetch_lob_size "0" INI_SYSTEM PECL OCI8 3.2 以降で利用可能 oci8.privileged_connect Off IN ... より、 oci8.max_persistent や oci8.persistent_timeout が以前に克服しようとしたメモリ及びリソースの問題が解決されます。 oci8.ping_interval int oci_pconnect() の間、ping を発行するまでに経過させる秒数を指定します。 ping はデータベース接続が有効か確認しま ... す。 0 に設定した場合、持続的接続は oci_pconnect() が 呼び出される度に ping を発行します。 ping を完全に無効にするためには、このオプションを -1 に設定します。 注意 : ping を無効にすることにより oci_ ...
https://man.mtool.work/php/8.3/oci8.configuration.html
持続的接続 | PHP 8.3 7990
持続的接続 持続的接続の使用 mysqli と mysqlnd の組み合わせで使っている場合は、 持続的接続を作るときにサーバー上で COM_CHANGE_USER ( mysql_change_user() ) を呼び出します。これで、接続の認証が再び行われることになります。 COM_CHANGE_USER の呼び ... パイル時にこれをオフにすることができます。 持続的接続を再利用すると、接続が再利用できるかどうか簡単にテストするために、 COM_PING ( mysql_ping ) の呼び出しが生成されます。 COM_CHANGE_USER を呼び出さないようにするには、コンパイルのときに MYSQLI_NO_CHANG ... を使用することに注意してください。 他の拡張モジュールとドライバーの組み合わせでは、持続的な接続を最初に使用する際に、 COM_PING を使用します。 他のマニュアルの関連ページ Linux JM make(1) Vim usr_90 Docker env Python unix Python configure Django datab ...
https://man.mtool.work/php/8.3/mysqlnd.persist.html
PREV 1 2 3 4 5 6 NEXT