Gagik
asked on
PHP - MySQL Connection Pooling
Hi, I wonder if there's a way in PHP to:
- somehow keep MySQL connection on regardless if the web page changes, in order to avoid reconnecting to MySQL server every time...
- "precompile" a PHP page conating often used functions. The idea is to avoid processing the same included page many times. For instance if we include a given php page in many other pages, we have to process it every time the page opens. While if we somehow percompile the inlcluded page, it won't be processed every time ...
Thanks a lot
- somehow keep MySQL connection on regardless if the web page changes, in order to avoid reconnecting to MySQL server every time...
- "precompile" a PHP page conating often used functions. The idea is to avoid processing the same included page many times. For instance if we include a given php page in many other pages, we have to process it every time the page opens. While if we somehow percompile the inlcluded page, it won't be processed every time ...
Thanks a lot
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks a lot!!
thanks logudotcom for the important info!
thanks logudotcom for the important info!
https://www.experts-exchange.com/questions/20409277/Too-many-open-connections.html