Why is my custom php.ini file not loaded site wide while placed in /public_hml?

167 views Asked by At

I created a custom php.ini ... it's located in /public_html.

Shouldn't it be valid and used for the whole site and directories under public_html ?

It seems not to be loaded e.g. in /public_html/cms/usr

I looked for answers on the internet or other sections of Stackoverflow but strangely did not find any answers.

1

There are 1 answers

1
Grokify On BEST ANSWER

The php.ini file is loaded by the PHP interpreter when it starts up. The locations searched are listed on the PHP.net website.