How to check where Apache is looking for a php.ini file?

后端 未结 5 1232
清酒与你
清酒与你 2020-12-05 22:26

I have a feeling that Apache is using a different php.ini file that the one I am editing. I make a change in my php.ini file, restart Apache, and the change doesn\'t take af

5条回答
  •  渐次进展
    2020-12-05 23:20

    To find the file that's being run by PHP, create a phpinfo file (just ) and look for the 'Configuration File (php.ini) Path' directive.

提交回复
热议问题