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

后端 未结 5 1208
清酒与你
清酒与你 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:15

    The output from phpinfo() will contain this. When using PHP as an Apache module, it can be configured using PHPIniDir in httpd.conf (or similar).

提交回复
热议问题