NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG on CentOS 4 - 64bit -- PHP 5.2.3


Joined: 26 Jun 2007
Posts: 2
Reply with quote
Hello everyone. I have been working on this for about 10 hrs without any success -- and have tried lots of different stuff. Here is the scenario:

I put dbg.so-5.2.x file from the dbg-3.1.11-Linux-x86_64-ssl folder into the /usr/lib/modules/ dir -- and then I edited the /etc/php.ini file to include:

extension=dbg.so-5.2.x

[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=my.ip.here localhost
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

And then I restarted Apache.. and my wizard shows the same old stuff:

# Your PHP.INI file is /etc/php.ini
# PHP extensions directory is /usr/lib/php/modules
# DBG (PHP DEBUGGER) is NOT INSTALLED

I've tried this a bunch of different ways -- I even remade PHP on the server. No luck. It's worth noting that I tried the non-64 bit builds and my Apache just stalled completely -- (it restarted OK.. but when I went to view any pages .. it just hung there.) Nothing came up in the error logs. I am pretty sure I am supposed be using the 64bit stuff since my box is a Core 2 Duo box.

Let's see.. what else did I try.. I tried moving the php.ini additions around the file (putting them at the bottom.. etc.) I also tried putting it all in a seperate .ini and putting that in /etc/php.d.

The top part of my phpinfo output is below -- any help here would be SOOOO AWESOME.

System Linux ns.xxxxx.com 2.6.9-55.ELsmp #1 SMP Wed May 2 14:28:44 EDT 2007 i686
Build Date Jun 7 2007 09:00:25
Configure Command './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
additional .ini files parsed /etc/php.d/dbg.ini, /etc/php.d/mcrypt.ini, /etc/php.d/mysql.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
View user's profileFind all posts by nauceSend private messageYahoo Messenger
Also -- no zend extensions


Joined: 26 Jun 2007
Posts: 2
Reply with quote
It's also worth mentioning that I tried making this a zend extension as well -- with no luck. I don't have any other zend extensions so i probably should have known that wouldn't work.

Thanks!
View user's profileFind all posts by nauceSend private messageYahoo Messenger
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
1. make sure that php and apache are 64bit. Just run ldd /path/to/httpd and check if it's linked against lib64 libraries or lib.
2. check apache error_log to see if anything related appears after you restart it.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
DBG on CentOS 4 - 64bit -- PHP 5.2.3
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic