[xdebug-general] Re: How to get feedback about zend_extension loading

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon, 1 Mar 2010 09:36:01 +0000 (GMT)

On Sun, 28 Feb 2010, Aegis Aleksander Kujbida wrote:

> Is there a way to convince php to announce a failure to load an extension? I
> see lots of folks facing the silent failure to load, but I can't find the
> way to get it to become reported.
>
> I want the php.ini line: zend_extension=/usr/lib/php5/10051025/xdebug.so to
> give some feedback.

That sort of things would be up to PHP. There are a few things that make
this easier—such as the display_errors and display_startup_errors
settings—but I do not think they work for zend_extensions. My trick for
debugging is usually to use strace to see which files PHP is opening
when it is being started.

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Mon Mar 01 2010 - 09:36:01 GMT

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