#23221 [Asn->Csd]: Pear installer - extension re-install segfault
| From: | cox@php.net | Date: | Fri, 10 Oct 2003 17:10:43 +0000 |
| Subject: | #23221 [Asn->Csd]: Pear installer - extension re-install segfault | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22570@lists.php.net to get a copy of this message | ||
ID: 23221
Updated by: cox@php.net
Reported By: alan at akbkhome dot com
-Status: Assigned
+Status: Closed
Bug Type: PEAR related
Operating System: linux
PHP Version: 4.3.2-RC
Assigned To: ssb
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
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