当前位置:Gxlcms > PHP教程 > php长连接

php长连接

时间:2021-07-01 10:21:17 帮助过:29人阅读

1,问题:我用了mysql_pconnect

发现在环境中没有产生长连接

解决办法:Apache下http.conf下keepAlive为Off 加下面三行

#KeepAlive OffKeepAlive OnMaxKeepAliveRequests 100KeepAliveTimeout 50

人气教程排行