Apparently, PHP can work just fine without loading a php.ini
configuration file. I have no idea where it gets its default configuration from (for example, a value of 128M
for memory_limit
), but luckily phpinfo()
will tell you where it's looking for a php.ini
(search for "Configuration File" in its output), so you can just add the file in that path and it will get picked up.