I have loaded the correct dbg modules to my server (confirmed that my Linux server is running glibc 2.3.4)
I have installed the dbg-wizard.php in my public_html dir
I my custom php.ini, I have added
extension_dir=/home/USERNAME/extensions |
(because this is a shared server and I don't have access to /usr/lib/php/extensions/no-debug-zts-20060613, the default extension location)
I am being told from dbg-wizard that 'DBG (PHP DEBUGGER) is NOT INSTALLED':
* PHP Version: 5.2.5
* Web Server: Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
* Server Name: USERNAME.com
* OS: Linux
* Your Client IP Address: XX.XXX.XXX.XX
* Your Server IP Address: XX.XXX.XXX.XX
* Port: 80
* Your Web Server and PhpED are on different machines
* Path to website files: /home/USERNAME/public_html/
* Document Root is: /home/USERNAME/public_html/
* Your PHP.INI file is /home/USERNAME/platform/php.ini
* PHP extensions directory is /home/USERNAME/extensions
* DBG (PHP DEBUGGER) is NOT INSTALLED
I followed the instructions from the paragraph 'How to install Server side DBG module'
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=host1 host2 host3
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.0
zend_optimizer.version=3.2.0
zend_extension_ts=/home/USERNAME/extensions/dbg.so-5.2.x
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so |
I have tried several iterations with the zend_extension_ts in different places.
I even try putting in nonsense file names (e.g. dbg.so-5.2.y) , and I don't get errors in my log file
HOWEVER if I use the glibc 2.7 version of the file, I get a core dump every time I try the correctly named 2.7 version (so, the file is getting read)
PHP Configure Command:
'./configure' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-exif' '--enable-fastcgi' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-maintainer-zts' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-wddx' '--enable-zip' '--prefix=/usr' '--with-bz2' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mime-magic' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr' |
I don't seem to get any errors in my error_log. Any suggestions?