Home  >  Article  >  Backend Development  >  In fast-cgi mode, are there any formal regulations for reading php.ini?

In fast-cgi mode, are there any formal regulations for reading php.ini?

WBOY
WBOYOriginal
2016-07-06 13:54:021017browse

Some read c:windowsphp.ini, some read the registry, and some read the current path of php.
Is there any formal rule on which order to read the php.ini configuration file?

Reply content:

Some read c:windowsphp.ini, some read the registry, and some read the current path of php.
Is there any formal rule on which order to read the php.ini configuration file?

I don’t know what the poster wants to ask, there is only one file in php.ini

phpinfo() Take a look at the php.ini path currently used by phpfpm. There is only one path. To change it, just change this file.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn