This post refers to DotKernel 1, based on Zend Framework 1.
If you are looking for DotKernel 3 related posts, go here.
If you are looking for DotKernel 3 related posts, go here.
From time to time, it may be a good idea to have a persistent connection to database.
The place where it should be added that new configuration option is application.ini ( DotKernel approach as an example)
Do not try something like below, will not work:
database.params.options.PDO::ATTR_PERSISTENT = TRUE
Instead , use the below line
database.params.persistent = TRUE
Looking for PHP, Laminas or Mezzio Support?
As part of the Laminas Commercial Vendor Program, Apidemia offers expert technical support and services for:
One Comment-
How to Set a Persistent Connection to Database with Zend … - EtondeGroup Blog of Web Applications | EtondeGroup Blog of Web Applications
[…] rest is here: How to Set a Persistent Connection to Database with Zend … Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers […]