1
votes

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
run means run :D Type cd folder and phpize in the terminal console. They should have said: "execute" - Quasimodo's clone
@Quasimodo'sclone, thanks for that but now i have a new problem... do you mind assisting... i posted the next portion above. - thismethod
Which linux distribution are you running? - Quasimodo's clone
You mentioned Ubuntu... apt-get should be known. You could also try aptitude instead. Btw: I've installed PHP7+xdebug from dotdeb.org repositories and I get periodical updates. - Quasimodo's clone
Red Hat has RPM based package management. You will need to utilize yum for managing installations. - Quasimodo's clone

1 Answers

-2
votes

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