[xdebug-general] Re: php showing inconsistent information pertaining to zend_extension xdebug

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon, 29 Oct 2007 19:40:37 +0100 (CET)

On Thu, 25 Oct 2007, Jeff Tanner wrote:

> If I run from *phpinfo()* from within php page, I see that xdebug extension was successfully installed...
>
> phpinfo() output:
> PHP Version 5.1.2
> Build Date Oct 25 2007 12:45:19
> Configuration File (php.ini) Path /etc/php5/apache2/php.ini

[snip]

> However, if I run *php -i* from command line, xdebug extension is not listed
> PHP Version => 5.1.2
> Build Date => Oct 25 2007 12:45:19
> Configuration File (php.ini) Path => /etc/php5/apache2/

As you can see here, the "php.ini" is missing... perhaps php cli has no
access rights to it? You can see what PHP is trying to open with strace:

strace php -m 2>&1 | grep php.ini

it will also tell you the results of those open calls.

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Mon Oct 29 2007 - 19:40:35 GMT

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