Page 1 of 1

Error while installing Xdebug using lampp

PostPosted: 15. June 2007 08:23
by amit
I have installed latest XAMPP for linux (1.6.2), now I need to install 'xdebug' extension for PHP. After doing lots of tricks (by setting up lammp's 'bin' directory in system path and by insalling XAMPP development package etc.) I finally succeded to run 'pecl' and 'phpize' commands. But there is a problem, whenever I try to install 'xdebug' it gives me 'phpize failed' error, don't know why. I am posting my command's output below

Code: Select all
[root@gateway ~]# pecl install xdebug-beta
downloading xdebug-2.0.0RC4.tgz ...
Starting to download xdebug-2.0.0RC4.tgz (269,219 bytes)
.....................done: 269,219 bytes
65 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
ERROR: `phpize' failed


Where should I look for phpize failure log message ?

Please help me with this.

Thanks :)

PostPosted: 15. June 2007 09:07
by Wiedmann
IMHO you need the XAMPP devel package.

PostPosted: 15. June 2007 09:36
by amit
Wiedmann wrote:IMHO you need the XAMPP devel package.

I have installed XAMPP devel package, that's why

Code: Select all
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519


displayed, otherwise it displayed error about header files not found.

PostPosted: 15. June 2007 09:41
by Wiedmann
Have you tried to build/install without the pecl command?
--> http://de.php.net/manual/en/install.pecl.phpize.php