Where does PHP get its settings if no configuration file is loaded?

php

Solution

If there is no php configuration file loaded it just takes the default values. Please check the documentation to have the list of the default values :

http://php.net/manual/en/ini.core.php

Problem

I have set up PHP 5.3.10 on a RHEL 4 server. When I ran `php -i | grep "Loaded"` it returned `Loaded Configuration File => (none)` It's OK with that setup. PHP is working the way we needed it to. I just need to know, if no php.ini is being used, where does PHP get all its settings? Thanks. Update: I realized this after I hit submit. Sorry, how do I move this to Stack Overflow? -_- Update 2: Result of `php --ini`: `Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: (none) Scan for additional .ini files in: (none) Additional .ini files parsed: (none)`

Original source