[xdebug-general] Install Question

From: Sam Keen <sam.sjk[@]gmail.com>
Date: Thu, 23 Feb 2006 09:58:57 -0800

We installed xdebug beta 5 with

# pecl install xdebug-beta

and that when fine. It installed in
/usr/lib/extensions/no-debug-non-zts-20050922/xdebug.so

we inserted this line in our php.ini
zend_extension="/usr/lib/extensions/no-debug-non-zts-20050922/xdebug.so"

on apache restart though it complained that it could not find xdebug.so

we copied xdebug.so to /usr/lib/php5 (the ext dir defined for PHP)
and changed the above line to

zend_extension="/usr/lib/php5/xdebug.so"

and apache was able to find it at that point.

But now PHP cannot find it.

# php
Failed loading xdebug.so: xdebug.so: cannot open shared object file:
No such file or directory

I know we have probably just missed something simple so I appologize
but any suggestions.

thanks
Sam Keen

top of output for php -i (if needed)
====================================
phpinfo()
PHP Version => 5.1.2

System => Linux webdev.ocp.org 2.6.11-1.14_FC3smp #1 SMP Thu Apr 7
19:38:19 EDT 2005 i686
Build Date => Jan 12 2006 14:37:23
Configure Command => './configure' '--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' '--with-config-file-path=/etc'
'--enable-pic' '--disable-rpath' '--enable-inline-optimization'
'--with-zlib' '--with-curl' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-zlib-dir=/usr' '--with-ttf'
'--with-openssl' '--with-regex=system' '--with-expat-dir=/usr'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-discard-path' '--with-gd' '--with-png' '--with-png-dir=/usr'
'--with-jpeg-dir=/usr' '--with-freetype-dir=/usr'
'--enable-track-vars' '--with-mysql=/usr'
'--with-mysqli=/usr/bin/mysql_config' '--with-apxs2=/usr/sbin/apxs'
'--with-mssql=/usr/local/'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php.ini
PHP API => 20041225
PHP Extension => 20050922
Zend Extension => 220051025
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => php, file, http, ftp, 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.*, convert.iconv.*, zlib.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

 _______________________________________________________________________

Configuration

PHP Core

Directive => Local Value => Master Value
allow_call_time_pass_reference => Off => Off
allow_url_fopen => On => On
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => On => On
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 2039 => 2039
expose_php => Off => Off
extension_dir => /usr/lib/php5 => /usr/lib/php5
file_uploads => On => On
highlight.bg => #FFFFFF => #FFFFFF
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => Off => On
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => Off
include_path => .:./include:..:../include:/usr/lib/php =>
.:./include:..:../include:/usr/lib/php
log_errors => On => On
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.force_extra_parameters => no value => no value
max_execution_time => 0 => 30
max_input_time => 60 => 60
open_basedir => no value => no value
output_buffering => 0 => 4096
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => Off
register_globals => Off => Off
register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off
Received on Thu Feb 23 2006 - 19:00:19 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST