xdebug on centos 5.6
Posted by gacekssj4 on 2011/9/8 12:53:02
Hello Everyone,
I'm still a Centos (or rather linux) newbie, even tho i try to get problems solved on my own, this one is smth i can't handle.
I installed Xdebug from many sources including pear pecel smth like command.
Compiled it with" phpize, ./configure (with and without --enable-xdebug option), make, makte test, make install.
After my compiled xdebug.so was put into php modules directory i tried to add it to php.ini as well as php.d/xdebug.ini
Tried with: in php.ini (top, middle, bottom part of file) and php.d/xdebug.so
zend_extension = path/modules/xdebug.so
zend_extension_ts = path/modules/xdebug.so
zend_extension_nts = path/modules/xdebug.so
Only way i made work xdebug somehow was with standard
extension = xdebug.so
However:
1st, It is not best solution, since it for modules that override php core zend_extension variant should be used.
2nd, it works, makes profiles (BUT NOT ALWAYS), but shouts an error that it should be included by zend_extension
So, what are your experiences with this module? Anyone who made it work with zend_extension load directive?
Any help or light on this subject is much appreciated.
PS:PHP and everything else is up-to-date on centos 5.6
Re: xdebug on centos 5.6
Posted by gacekssj4 on 2011/9/9 5:45:01
Was wondering... is phpize different for cli i apache extension?
Re: xdebug on centos 5.6
Posted by TrevorH on 2011/9/9 9:48:21
Or you could install php-pecl-xconfig from the EPEL third party repo.
Re: xdebug on centos 5.6
Posted by gacekssj4 on 2011/9/9 17:48:59
Whould would it give me?? Can't google it :(
Re: xdebug on centos 5.6
Posted by pschaff on 2011/9/19 21:36:25
Please read about
Installing Software,
Source Installs, and
Repositories, and note the warnings and advice about installing and configuring the
yum priorities plugin. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.
Then
# yum --enablerepo epel info php-pecl-xdebug
Loaded plugins: allowdowngrade, downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
* elrepo: elrepo.reloumirrors.net
* epel: mirror.vcu.edu
* rpmforge: ftp-stud.fht-esslingen.de
Excluding Packages from RHEL 5 - RPMforge.net - dag
Finished
5266 packages excluded due to repository priority protections
Available Packages
Name : php-pecl-xdebug
Arch : x86_64
Version : 2.0.5
Release : 1.el5.1
Size : 158 k
Repo : epel
Summary : PECL package for debugging PHP scripts
URL : http://pecl.php.net/package/xdebug
License : BSD
Description: The Xdebug extension helps you debugging your script by providing a
: lot of valuable debug information.
This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=38&topic_id=33149