what happens if php.ini is missing?

前端 未结 2 885
说谎
说谎 2020-12-19 04:32

What happens if php.ini is missing? Does PHP load with a default configuration? In phpinfo(), it says the configuration file path is /etc, however it also says Loaded Conf

相关标签:
2条回答
  • 2020-12-19 04:54

    PHP has what amounts to a php.ini compiled into it. The php.ini file on the system is there merely to override those pre-compiled defaults. If there's no php.ini, the compile-time values are in charge.

    0 讨论(0)
  • 2020-12-19 05:02

    It does load default settings, yes.

    0 讨论(0)
提交回复
热议问题