CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Software Support
  xdebug on centos 5.6

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  gacekssj4
      gacekssj4
xdebug on centos 5.6
#1
Peeking in the Member Window
Joined: 2011/4/30
From
Posts: 20
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
Posted on: 2011/9/8 12:53
Create PDF from Post Print
Top
  •  gacekssj4
      gacekssj4
Re: xdebug on centos 5.6
#2
Peeking in the Member Window
Joined: 2011/4/30
From
Posts: 20
Was wondering... is phpize different for cli i apache extension?
Posted on: 2011/9/9 5:45
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: xdebug on centos 5.6
#3
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6306
Or you could install php-pecl-xconfig from the EPEL third party repo.
_________________
Linux/VoIP Systems Administrator
Posted on: 2011/9/9 9:48
Create PDF from Post Print
Top
  •  gacekssj4
      gacekssj4
Re: xdebug on centos 5.6
#4
Peeking in the Member Window
Joined: 2011/4/30
From
Posts: 20
Whould would it give me?? Can't google it :(
Posted on: 2011/9/9 17:48
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: xdebug on centos 5.6
#5
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
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.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2011/9/19 21:36
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com