Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这就是我所做的:首先我安装了 php5-dev。php.h 在 /usr/include/php5/main 中。在那之后:
cd /opt/lampp/bin ./pecl install xdebug
结果:
/tmp/pear/temp/xdebug/xdebug.c:25:17: fatal error: php.h: No such file or directory
我想我必须对 pecl 说它必须在哪个包含目录中搜索......但是如何?