Score:0

How to change the value of "Configuration File (php.ini) Path"?

th flag

I have a few PHP apps running on IIS 10.

I set each app the right PHP version for it, and it works correctly, and the Loaded Configuration File shows the right path for each, however, only the apps using one of the PHP versions have value in the Configuration File (php.ini) Path when using phpinfo() (And it's not correct because the actual file is loaded from somewhere else, as defined by the PHPRC value in IIS):

enter image description here

The apps work correctly since the Loaded Configuration File shows the right path for each app, however I wonder if there's something not set up correctly if one of them has no value in the Path and might cause issues in the future (Maybe it's only saved in cache, and then next time it will try to load it, it won't find it and try to look for it in a wrong path for example?)

For each FastCGI app, I have set the PHPRC environment variable to be the right path to the php.ini (In my case, simply the PHP folder for the corresponding version)

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.