Configuration File (php.ini) Path /usr/local/php/lib
Loaded Configuration File (none)

Linux 把 dtruss 改成strace 就可以

我的是mac的系统

jackluo@JackLuodeMacBook-Pro:~ $sudo dtruss /usr/local/php/bin/php -i 2> /tmp/1.log;

jackluo@JackLuodeMacBook-Pro:~ $grep 'php.ini' /tmp/1.log
open_nocancel("/usr/local/php/bin/php.ini\0", 0x0, 0x1B6) = 3 0
read_nocancel(0x3, "[PHP]\n\n;;;;;;;;;;;;;;;;;;;\n; About php.ini ;\n;;;;;;;;;;;;;;;;;;;\n; PHP's initialization file, generally called php.ini, is responsible for\n; configuring many of the aspects of PHP's behavior.\n\n; PHP attempts to find and load this configuration from a num", 0x10FF8) = 69624 0

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2021-11-11
猜你喜欢
  • 2021-03-31
  • 2022-12-23
  • 2021-09-01
  • 2022-12-23
  • 2021-07-25
  • 2022-03-01
相关资源
相似解决方案