« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 137 for pconnect (0.003 sec.)
Memcache::pconnect — memcached サーバーへの持続的な接続をオープンする | PHP 8.3 12382
Memcache::pconnect memcache_pconnect (PECL memcache >= 0.4.0) Memcache::pconnect -- memcache_pconnect — memcached サーバーへの持続的な接続をオープンする 説明 function Memcache::pconnect ( string $host , int $port = ? , int $timeout = ? ): b ... ool function Memcache::pconnect ( string $host , int $port = ? , int $timeout = ? ): Memcache Memcache::pconnect() は Memcache::connect() とほぼ同じですが ... リットが なくなってしまいます。 戻り値 Memcache オブジェクトを返します。 失敗した場合に false を返します。 例 例1 Memcache::pconnect() の例 <?php /* 手続き型の API */ $memcache_obj = memcache_pconnect ( 'memcache_host' , 11211 ); /* オブジェクト指向の API ... */ $memcache_obj = new Memcache ; $memcache_obj -> pconnect ( 'memcache_host' , 11211 ); ?> 参考 Memcache::connect() - memcached サーバーへの接続をオープンする 他のマニュアルの関連ペ ...
https://man.mtool.work/php/8.3/memcache.pconnect.html
pg_pconnect — 持続的な PostgreSQL 接続をオープンする | PHP 8.3 10944
pg_pconnect (PHP 4, PHP 5, PHP 7, PHP 8) pg_pconnect — 持続的な PostgreSQL 接続をオープンする 説明 function pg_pconnect ( string $connection_string , int $flags = 0 ): PgSql\Connection | false pg_pconnect() は PostgreSQL への接続を オープン ... stgreSQL関数 が必要とする PgSql\Connection クラスのインスタンスを返します。 既存の接続と同じ connection_string を用いて pg_pconnect() が 2 回目にコールされた場合は、 既存の接続を返します。ただし、 flags に PGSQL_CONNECT_FORCE_NEW を指定している場合は 除き ... トは制限無しを意味する -1 です)。 接続全体の数は php.ini ディレクティブ pgsql.max_links で設定可能です。 pg_close() は、 pg_pconnect() によりオープンされた持続的接続は 閉じません。 パラメータ connection_string すべてデフォルトのパラメータを使用する場合には ... Connection クラスのインスタンスを返すようになりました。 これより前のバージョンでは、 resource を返していました。 例 例1 pg_pconnect() の使用法 <?php // "mary"という名前のデータベースに接続 $dbconn = pg_pconnect ( "dbname=mary" ); // "localhost" のポート ...
https://man.mtool.work/php/8.3/function.pg-pconnect.html
cubrid_pconnect_with_url — Open a persistent connection to CUBRID server | PHP ... 10872
cubrid_pconnect_with_url (PECL CUBRID >= 8.3.1) cubrid_pconnect_with_url — Open a persistent connection to CUBRID server 説明 function cubrid_pconnect_with_url ( string $conn_url , string $userid = ? , string $passwd = ? ): resource Establi ... shes a persistent connection to a CUBRID server. cubrid_pconnect_with_url() acts very much like cubrid_connect_with_url() with two major differences. First, when connecting, the function ... he link will remain open for future use ( cubrid_close() or cubrid_disconnect() will not close links established by cubrid_pconnect_with_url() ). This type of link is therefore called 'persistent'. <url> ::= CUBRID:<host>:<db_name>:<db_user>:<db_password ... rror of function being executed upon timeout. The default value is false. 注意 : ? and : that are used as identifiers in PHP connection URL can't be included in the password. The following is an example of a password that is invalid to use as connection ...
https://man.mtool.work/php/8.3/function.cubrid-pconnect-with-url.html
cubrid_pconnect — Open a persistent connection to a CUBRID server | PHP 8.3 10392
cubrid_pconnect (PECL CUBRID >= 8.3.1) cubrid_pconnect — Open a persistent connection to a CUBRID server 説明 function cubrid_pconnect ( string $host , int $port , string $dbname , string $userid = ? , string $passwd = ? ): resource Establi ... shes a persistent connection to a CUBRID server. cubrid_pconnect() acts very much like cubrid_connect() with two major differences. First, when connecting, the function would first try to ... he link will remain open for future use ( cubrid_close() or cubrid_disconnect() will not close links established by cubrid_pconnect() ). This type of link is therefore called 'persistent'. パラメータ host Host name or IP address of CUBRID CAS server. por ... swd User password. 戻り値 Connection identifier, when process is successful,失敗した場合に false を返します. 例 例1 cubrid_pconnect() example <?php printf ( "%-30s %s\n" , "CUBRID PHP Version:" , cubrid_version ()); printf ( "\n" ); $conn = cubrid_pconne ...
https://man.mtool.work/php/8.3/function.cubrid-pconnect.html
fbird_pconnect — のエイリアス ibase_pconnect() | PHP 8.3 9997
fbird_pconnect (PHP 5, PHP 7 < 7.4.0) fbird_pconnect — のエイリアス ibase_pconnect() 説明 この関数は次の関数のエイリアスです。 ibase_pconnect() . 参考 fbird_close() - のエイリアス ibase_close fbird_connect() - のエイリアス ibase_connect 他の ...
https://man.mtool.work/php/8.3/function.fbird-pconnect.html
db2_pconnect — データベースへの持続的接続を返す | PHP 8.3 8798
db2_pconnect (PECL ibm_db2 >= 1.0.0) db2_pconnect — データベースへの持続的接続を返す 説明 function db2_pconnect ( string $database , ? string $username , ? string $password , array $options = [] ): resource | false IBM DB2 Universal Databas ... se() をコールすると、 常に true を返します。しかし DB2 クライアント接続はオープンされたままであり、 条件に一致する次の db2_pconnect() リクエストを待ち続けます。 ibm_db2 のバージョン 1.9.0 以降を使っている場合は、 持続的接続上ではリクエストが終了するたびに ... されないファイルの解決には、 デフォルトのライブラリあるいは現在のユーザー ID を使用します。 i5_commit i5_commit 属性は、 db2_pconnect() の前に設定しなければなりません。 接続が確立された後にこの値が変更され、その接続がリモートデータソースに対するものだった場 ... 合は、 その接続ハンドルに対してもう一度 db2_pconnect() がコールされるまで変更は反映されません。 注意 : php.ini の設定は ibm_db2.i5_allow_commit ==0 あるいは DB2_I5_TXN_NO_COMM ...
https://man.mtool.work/php/8.3/function.db2-pconnect.html
db2_pclose — 持続的データベース接続を閉じる | PHP 8.3 8007
db2_pclose (PECL ibm_db2 >= 1.8.0) db2_pclose — 持続的データベース接続を閉じる 説明 function db2_pclose ( resource $connection ): bool この関数は、 db2_pconnect() で作成した DB2 クライアント接続を閉じ、 対応するリソースをデータベースサーバー ... : この関数は、i5/OS で i5/OS システム管理リクエストに対する応答としてのみ使用可能です。 持続的 DB2 クライアント接続を db2_pconnect() で作成した場合は、 この関数で接続を閉じることができるでしょう。それ以降の接続のパフォーマンスのことを考えて、 この関数使 ... alse を返します。 例 例1 持続的接続の終了 次の例は、IBM DB2 i5/OS データベースへの接続を閉じるものです。 <?php $conn = db2_pconnect ( '' , '' , '' ); $rc = db2_pclose ( $conn ); if ( $rc ) { echo "Connection was successfully closed." ; } ?> 上の例の出力は ... 以下となります。 Connection was successfully closed. 参考 db2_close() - データベース接続を閉じる db2_pconnect() - データベースへの持続的接続を返す 他のマニュアルの関連ページ Linux JM pclose(3) Django databases Linux JM popen(3) Duck ...
https://man.mtool.work/php/8.3/function.db2-pclose.html
ibase_pconnect — InterBase データベースへの持続的接続をオープンする | PHP 8.3 8007
ibase_pconnect (PHP 5, PHP 7 < 7.4.0) ibase_pconnect — InterBase データベースへの持続的接続をオープンする 説明 function ibase_pconnect ( string $database = ? , string $username = ? , string $password = ? , string $charset = ? , int $buffers ... $dialect = ? , string $role = ? , int $sync = ? ): resource InterBase データベースへの持続的な接続をオープンします。 ibase_pconnect() の動作は ibase_connect() と非常に似ていますが、 大きな違いが二つあります。 まず、この関数は接続時に同じパラメータで既にオ ... も閉じられないということです。 代わりに、そのリンクは今後使用するためにオープンされたままとなります ( ibase_close() は ibase_pconnect() によりオープンされたリンクを閉じません)。 このため、この型のリンクは'持続的(persistent)'と呼ばれます。 パラメータ databa ...
https://man.mtool.work/php/8.3/function.ibase-pconnect.html
mysql_pconnect — MySQL サーバーへの持続的な接続をオープンする | PHP 8.3 7767
mysql_pconnect (PHP 4, PHP 5) mysql_pconnect — MySQL サーバーへの持続的な接続をオープンする 警告 この拡張モジュールは PHP 5.5.0 で非推奨になり、PHP 7.0.0 で削除されました。 MySQLi あるいは PDO_MySQL を使うべきです。詳細な情報は MySQL: API の ... にホストプレフィックス p: を指定 PDO::__construct() のドライバオプションで PDO::ATTR_PERSISTENT を指定 説明 function mysql_pconnect ( string $server = ini_get("mysql.default_host") , string $username = ini_get("mysql.default_user") , string $password = i ... ni_get("mysql.default_password") , int $client_flags = 0 ): resource MySQL サーバーとの持続的な接続を確立します。 mysql_pconnect() は、 mysql_connect() とよく似た動作をしますが、 2 つの大きな違いがあります。 1 番目の違いとして、この関数は接続時にまず ... られないということです。そのかわりに、将来再利用されるために リンクがオープンされたままとなります( mysql_close() は、 mysql_pconnect() によって確立されたリンクを 閉じません)。 このため、この型のリンクは、'持続的(persistent)'であると言われます。 パラメータ ...
https://man.mtool.work/php/8.3/function.mysql-pconnect.html
OCI8 接続のハンドリングおよびプーリング | PHP 8.3 7767
OCI8 接続のハンドリングおよびプーリング 接続関数 oci8 拡張モジュールは Oracle に接続するための 3 つの異なる関数を提供しています。標準の接続関数は oci_connect() です。これは Oracle データベースへの接続を作成し、 それ以降のデータベースで使うリ ... ソースを返します。 Oracle サーバーへの接続は、完了まで要する時間という点から見ると、 かなりコストのかかる操作です。 oci_pconnect() 関数は、 異なるスクリプトリクエスト間で接続の再利用が可能な 持続的キャッシュを使用します。 これは、PHP プロセス (もしくは ... 一度のみ負うということを意味しています。 もしアプリケーションが信用された異なる Web ユーザー毎に Oracle に接続する場合、 oci_pconnect() による持続的キャッシュは、 同時ユーザー数の増加と共に有効ではなくなるでしょう。 これは、多くのアイドル状態の接続が維持さ ... ooling を使う (Oracle Database 11g 以降の場合)、もしくは oci_connect() を使用することが推奨されます。 oci_connect() と oci_pconnect() の両者とも接続キャッシュを使用します。もし、同一パラメータと共に oci_connect() を複数回コールする場合、 2 番目以降は既存 ...
https://man.mtool.work/php/8.3/oci8.connection.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT