1,问题:我用了mysql_pconnect 发现在环境中没有产生长连接 解决办法:Apache下http.conf下keepAlive为Off 加下面三行 #KeepAlive OffKeepAlive OnMaxKeepAliveRequests 100KeepAliveTimeout 50로그인 후 복사