#23221 [Opn->Asn]: Pear installer - extension re-install segfault
| From: | arnaud@php.net | Date: | Mon, 26 May 2003 13:43:40 +0000 |
| Subject: | #23221 [Opn->Asn]: Pear installer - extension re-install segfault | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16706@lists.php.net to get a copy of this message | ||
ID: 23221
Updated by: arnaud@php.net
Reported By: alan at akbkhome dot com
-Status: Open
+Status: Assigned
Bug Type: PEAR related
Operating System: linux
PHP Version: 4.3.2-RC
-Assigned To:
+Assigned To: ssb
Previous Comments:
------------------------------------------------------------------------
[2003-04-15 02:49:56] alan at akbkhome dot com
the pear installer should check to see if an extension that is about to
be installed is actually being used
example: xdebug extension is loaded in php.ini
pear install -f xdebug....tgz
while segfault when the .so is copied to the php extension directory.
doing a simple php -r
'copy('.....xdebug.so','/usr/share/php/xdebug.so');'
will cause a bus error.
It may be worth adding to the package xml description
<provides_extension>xdebug</provides_extension>
and doing a extension_loaded() check prior to running ./configure.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23221&edit=1