Advantages / Disadvantages of pconnect option in CodeIgniter
Asked 07 September, 2021
Viewed 2.7K times
  • 65
Votes

One of the parameters in the CodeIgniter database config is the following

['pconnect'] TRUE/FALSE - Whether to use a persistent connection

What do you recommend I set this to?
Is there a significant performance hit if I set it to FALSE?
What potential problems might arise from setting it to TRUE?

1 Answer