锟斤拷锟斤拷时锟斤拷锟斤拷

锟斤拷些锟斤拷锟斤拷锟斤拷锟斤拷为锟斤拷 php.ini 锟叫碉拷锟斤拷锟斤拷影锟届。

MySQLi锟斤拷锟斤拷选锟斤拷
锟斤拷锟斤拷 默锟斤拷 锟斤拷锟睫改凤拷围 锟斤拷锟斤拷锟斤拷志
mysqli.allow_local_infile "1" PHP_INI_SYSTEM 锟斤拷PHP 5.2.4锟斤拷锟斤拷谩锟�
mysqli.allow_persistent "1" PHP_INI_SYSTEM 锟斤拷PHP 5.3.0锟斤拷锟斤拷谩锟�
mysqli.max_persistent "-1" PHP_INI_SYSTEM 锟斤拷PHP 5.3.0锟斤拷锟斤拷谩锟�
mysqli.max_links "-1" PHP_INI_SYSTEM 锟斤拷PHP 5.0.0锟斤拷锟斤拷谩锟�
mysqli.default_port "3306" PHP_INI_ALL 锟斤拷PHP 5.0.0锟斤拷锟斤拷谩锟�
mysqli.default_socket NULL PHP_INI_ALL 锟斤拷PHP 5.0.0锟斤拷锟斤拷谩锟�
mysqli.default_host NULL PHP_INI_ALL 锟斤拷PHP 5.0.0锟斤拷锟斤拷谩锟�
mysqli.default_user NULL PHP_INI_ALL 锟斤拷PHP 5.0.0锟斤拷锟斤拷谩锟�
mysqli.default_pw NULL PHP_INI_ALL 锟斤拷PHP 5.0.0锟斤拷锟斤拷谩锟�
mysqli.reconnect "0" PHP_INI_SYSTEM 锟斤拷PHP 4.3.5锟斤拷锟斤拷谩锟�
mysqli.rollback_on_cached_plink TRUE PHP_INI_SYSTEM 锟斤拷 PHP 5.6.0 锟斤拷锟斤拷谩锟�

锟斤拷锟斤拷前锟斤拷锟斤拷值锟絇HP_INI_*系锟叫筹拷锟斤拷锟斤拷锟斤拷细锟斤拷锟藉,锟斤拷锟斤拷锟�锟斤拷锟矫碉拷锟睫革拷一锟铰★拷

锟斤拷锟斤拷锟斤拷锟斤拷指锟斤拷募锟斤拷说锟斤拷锟斤拷

mysqli.allow_local_infile integer

锟斤拷锟斤拷Mysql锟斤拷Load Data锟斤拷锟斤拷锟斤拷PHP锟角度匡拷锟侥憋拷锟斤拷锟侥硷拷锟斤拷

mysqli.allow_persistent integer

锟斤拷锟斤拷使锟斤拷mysqli_connect()锟斤拷锟斤拷锟斤拷锟斤拷锟街久伙拷锟斤拷锟接碉拷锟斤拷锟斤拷锟斤拷

mysqli.max_persistent integer

锟斤拷锟皆达拷锟斤拷锟侥持久伙拷锟斤拷锟接碉拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟轿�0锟斤拷锟斤拷锟斤拷锟斤拷锟狡★拷

每锟斤拷锟斤拷锟斤拷锟斤拷Mysql锟斤拷锟接碉拷锟斤拷锟斤拷锟斤拷锟斤拷锟�

mysqli.default_port integer

锟斤拷没锟斤拷指锟斤拷锟斤拷锟斤拷锟剿口猴拷时使锟矫碉拷默锟较碉拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟捷匡拷锟斤拷锟斤拷锟斤拷锟絋CP锟剿口号★拷锟斤拷锟矫伙拷锟斤拷锟斤拷锟侥拷锟街碉拷锟� 锟剿口号斤拷锟结按锟斤拷顺锟斤拷踊锟斤拷锟斤拷锟斤拷锟�MYSQL_TCP_PORT锟斤拷/etc/services 锟侥硷拷锟叫碉拷mysql-tcp锟斤拷目锟斤拷锟斤拷锟斤拷诘锟�MYSQL_PORT锟斤拷锟斤拷锟斤拷位锟矫伙拷取锟斤拷 Win32锟斤拷使锟斤拷MYSQL_PORT锟斤拷锟斤拷锟斤拷

mysqli.default_socket string

锟斤拷锟斤拷锟接碉拷锟斤拷锟斤拷锟斤拷锟捷匡拷锟斤拷锟斤拷锟绞憋拷锟斤拷没锟斤拷指锟斤拷锟斤拷锟斤拷socket锟斤拷锟狡o拷使锟矫碉拷默锟斤拷socket锟斤拷锟狡★拷

mysqli.default_host string

锟斤拷锟斤拷锟接碉拷锟斤拷锟捷匡拷锟斤拷锟斤拷锟绞憋拷锟� 锟斤拷锟矫伙拷锟街革拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟街凤拷锟绞癸拷玫锟侥拷戏锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟揭拷锟� 锟斤拷全模式锟斤拷使锟矫★拷

mysqli.default_user string

锟斤拷锟斤拷锟接碉拷锟斤拷锟捷匡拷锟斤拷锟斤拷锟绞憋拷锟斤拷锟斤拷没锟斤拷指锟斤拷锟斤拷锟斤拷锟矫伙拷锟斤拷锟斤拷使锟矫碉拷默锟斤拷锟矫伙拷锟斤拷锟斤拷锟斤拷要锟斤拷 锟斤拷全模式锟斤拷使锟矫★拷

mysqli.default_pw string

锟斤拷锟斤拷锟接碉拷锟斤拷锟捷匡拷锟斤拷锟斤拷锟绞憋拷锟斤拷锟斤拷没锟斤拷指锟斤拷锟斤拷锟斤拷锟斤拷锟诫,使锟矫碉拷默锟斤拷锟斤拷锟诫。锟斤拷要锟斤拷 锟斤拷全模式锟斤拷使锟矫★拷

mysqli.reconnect integer

锟斤拷锟接讹拷失时锟角凤拷锟皆讹拷锟斤拷锟斤拷锟斤拷锟接★拷

Note: This php.ini setting is ignored by the mysqlnd driver.

If this option is enabled, closing a persistent connection will rollback any pending transactions of this connection before it is put back into the persistent connection pool. Otherwise, pending transactions will be rolled back only when the connection is reused, or when it is actually closed.

锟矫伙拷锟斤拷锟斤拷通锟斤拷API锟斤拷锟矫伙拷锟斤拷锟斤拷时锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷MYSQL_OPT_READ_TIMEOUT锟斤拷 注锟解,锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟矫�libmysql锟斤拷锟斤拷锟斤拷MYSQL_OPT_READ_TIMEOUT 锟斤拷值锟斤拷锟斤拷锟叫诧拷同锟侥斤拷锟酵★拷