Does codeigniter never release database connections? Solution
Source: Internet
Author: User
Does codeigniter never release database connections ??? I have searched the user manual and have not found any way to release the database connection? Does codeigniter never release database connections? In addition, codeigniter's user manual is too inconvenient. Is there anything I can see for the function reference, isn't multiple codeigniter like the refrence of java never release database connections ???
I have searched the user manual and have not found any way to release the database connection?
Does codeigniter never release database connections?
In addition, codeigniter's user manual is too inconvenient. Is there anything I can see for the function reference, just like java's refrence?
Thanks
------ Solution --------------------
No. PHP will be automatically released once executed. This is why PHP rarely crashes and overflows, and is said to be the cause of poor PHP performance.
------ Solution --------------------
Of course there is a connection. what's so strange?
The landlord should take a good look at the source code. its source code is very simple.
Many single-piece modes are used in it. of course, only one connection is used.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service