douxuan0698 2016-05-10 23:13
浏览 75

在终端中安装xdebug

This may be a dumb question but step4 says: The instructions should look something like:

1) Download xdebug-2.4.0.tgz (I like to use wget -O ~/downlaods/xdebug-2.4.0.tgz http://xdebug.org/files/xdebug-2.4.0.tgz on Ubuntu)

2) Unpack the downloaded file with tar -xvzf xdebug-2.4.0.tgz

3) Run: cd xdebug-2.4.0

4) Run: phpize (See the Xdebug FAQ if you don’t have phpize.)

Currently i've downloaded and unzipped it on my server following these instructions. and then it says cd into the xdebug-2.4.0 folder but what does run mean.. how do i run it? step four and five are confusing.

How do i run debug?

My output:

[~/public_html/xdebug-2.4.0]$ phpize
grep: /usr/local/include/php/main/php.h: No such file or directory
grep: /usr/local/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/local/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:        
Zend Module Api No:     
Zend Extension Api No: 

I read that i have to sudo apt-get install php5-dev but everytime i try i get this error message.

apt-get: command not found

  • 写回答

1条回答 默认 最新

  • doudou0612 2016-05-13 14:48
    关注

    I don't know much about what to do. I'm looking for info. But to make apt-get work I've found those steps:

    sudo su
    cd /usr/ports/sysutils/apt/ && make install clean
    

    More info here

    Hope that hepls and sorry for the bad english

    评论

报告相同问题?

悬赏问题

  • ¥15 孟德尔随机化结果不一致
  • ¥20 求用stm32f103c6t6在lcd1206上显示Door is open和password:
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法