thismethod
thismethod

Reputation: 533

Installing xdebug in terminal

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

Upvotes: 1

Views: 741

Answers (1)

XyK
XyK

Reputation: 1

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

Upvotes: -2

Related Questions