I did a custom build of PHP Version 5.1.2 (See complete build configure parameters below) --with-config-file-path=/etc/php5/apache2/
Then I performed *pecl install xdebug*
Which installed xdebug module at "/usr/local/lib/php/extensions/no-debug-non-zts-20050922/xdebug.so"
I then modified /etc/php5/apache2/php.ini to include:
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20050922/xdebug.so"
If I run from *phpinfo()* from within php page, I see that xdebug extension was successfully installed...
phpinfo() output:
PHP Version 5.1.2
Configuration File (php.ini) Path /etc/php5/apache2/php.ini
...
tokenizer
xdebug enabled Version 2.0.2-dev
xml
xmlreader
...
However, if I run *php -i* from command line, xdebug extension is not listed
PHP Version => 5.1.2
Configuration File (php.ini) Path => /etc/php5/apache2/
...
tokenizer
<no xdebug>
xml
xmlreader
...
And neither is it listed as a module when calling *php -m*:
[PHP Modules]
...
tokenizer
<no xdebug>
xml
xmlreader
...
[Zend Modules]
<empty>
What am I doing wrong?
-- Jeff
Custom build configuration for PHP Version 5.1.2:
./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/bin/apxs --with-dom --with-pcre --with-spl --with-xml --with-expat=/usr/lib/libexpat.so --with-xmlrpc --with-openssl --with-mysqli=/usr/bin/mysql_config --enable-mbstring --enable-memcache --enable-memory-limit --with-mcrypt --enable-soap --enable-cli --with-config-file-path=/etc/php5/apache2/ --with-zlib --with-pdo-mysql --with-gd --with-mhash --with-curl --with-xsl --enable-xslt --with-xslt-sablot
Received on Thu Oct 25 2007 - 21:39:13 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST