不懂这个,去查了一下,不过英文论坛上都写removephp5 has pconnect. You're getting mysql/mysqli confused:mysql_pconnect(); // valid mysqli_pconnect(); // NOT validpconnect was removed from the mysqlImproved extension because it usually causes more problems than it solves. mysqli is only for mysql database versions >= 4.1.2, anything less you will still use mysql.
mysql_pconnect() 是存在的mysqli是不存在的注意看有效版本(PHP 3, PHP 4, PHP 5)/////////////////////////php手册 mysql_pconnect (PHP 3, PHP 4, PHP 5)mysql_pconnect -- 打开一个到 MySQL 服务器的持久连接 说明 resource mysql_pconnect ( [string server [, string username [, string password [, int client_flags]]]] ) 如果成功则返回一个正的 MySQL 持久连接标识符,出错则返回 FALSE。
mysqli_pconnect(); // NOT validpconnect was removed from the mysqlImproved extension because
it usually causes more problems than it solves. mysqli is only for
mysql database versions >= 4.1.2, anything less you will still use
mysql.
是存在的mysqli是不存在的注意看有效版本(PHP 3, PHP 4, PHP 5)/////////////////////////php手册 mysql_pconnect
(PHP 3, PHP 4, PHP 5)mysql_pconnect -- 打开一个到 MySQL 服务器的持久连接
说明
resource mysql_pconnect ( [string server [, string username [, string password [, int client_flags]]]] )
如果成功则返回一个正的 MySQL 持久连接标识符,出错则返回 FALSE。