PHP - Application config file stored as - ini,php,sql,cached,php class,JSON,php array?

Viewed 13231

I am trying to decide on the best way to store my applications configuration settings. There are so many options.

The majority of applications I have seen have used a simple require and a PHP file that contains variables. There seem to be far more advanced techniques out there.

What have you used? What is most efficient? What is most secure?

10 Answers
Related