商务合作加Q:411239339

php 安装xdebug

浏览:797次阅读
没有评论

共计 340 个字符,预计需要花费 1 分钟才能阅读完成。

wget https://xdebug.org/files/xdebug-2.2.7.tgz 
phpize
./configure --with-php-config=/usr/local/php/bin/php-config 
make
make install

添加到 /etc/php.d/xdebug.ini 中:

extension=xdebug.so
xdebug.auto_trace=1
xdebug.collect_params=1
xdebug.collect_return=1
xdebug.trace_output_dir="/tmp/xdebug"
xdebug.profiler_enable=1
xdebug.profiler_output_dir="/tmp/xdebug"

正文完
扫码赞助
post-qrcode
 0
果子
版权声明:本站原创文章,由 果子 于2018-03-31发表,共计340字。
转载说明:除特殊说明外本站文章皆由果较瘦原创发布,转载请注明出处。
评论(没有评论)