PHP CLI下,
> php --ini
Configuration File (php.ini) Path: /usr/local/etc/php/5.6
Loaded Configuration File: /usr/local/etc/php/5.6/php.ini
Scan for additional .ini files in: /usr/local/etc/php/5.6/conf.d
Additional .ini files parsed: /usr/local/etc/php/5.6/conf.d/ext-igbinary.ini,
/usr/local/etc/php/5.6/conf.d/ext-mcrypt.ini,
/usr/local/etc/php/5.6/conf.d/ext-xdebug.ini
但是在我的apache下,localhost/phpinfo.php
Configuration File (php.ini) Path | /usr/local/etc/php/5.6 |
Loaded Configuration File | /usr/local/etc/php/5.6/php.ini |
Scan this dir for additional .ini files | /usr/local/etc/php/5.6/conf.d |
Additional .ini files parsed | /usr/local/etc/php/5.6/conf.d/ext-mcrypt.ini |
我的macOS是 10.12, 用homebrew安装的PHP 和 xdebug。
求问,该如何让我的apache加载xdebug的.ini文件。。 被这个问题困扰好几天了,最近一直在用php自带的server来debug。。
先在这里提前谢谢各位了,希望大家能给我一些建议。。