php5.0.5_2 segment fault
Marian Cerny
jojo at matfyz.cz
Sat Dec 3 06:58:29 PST 2005
On 2005-12-03 10:59 +0100, Martin Wilke wrote:
> I have upgrade php5.0.5_2 and this segment fault.
>
> [10:54] root at splash ~# php -v
> PHP Warning: PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20041030/yp.so' - Cannot open
> "/usr/local/lib/php/20041030/yp.so" in Unknown on line 0 PHP
> Warning: PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20041030/calendar.so' - Cannot open
> "/usr/local/lib/php/20041030/calendar.so" in Unknown on line
> 0 PHP Warning: PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20041030/sockets.so' - Cannot open
> "/usr/local/lib/php/20041030/sockets.so" in Unknown on line 0
> zsh: segmentation fault (core dumped) php -v
>
>
> gdb messeage is
>
> gdb php php.core
>
> [...]
>
> Reading symbols from /usr/local/lib/php/20041030/imap.so...(no
> debugging symbols found)...done. Loaded symbols
> for /usr/local/lib/php/20041030/imap.so Reading symbols
>
> [...]
>
> from /usr/local/lib/php/20041030/mysql.so...(no debugging symbols
> found)...done. Loaded symbols for /usr/local/lib/php/20041030/mysql.so
> Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.14...(no
> debugging symbols found)...done. Loaded symbols
> for /usr/local/lib/mysql/libmysqlclient.so.14 Reading symbols
>
> [...]
>
> from /usr/local/lib/php/20041030/recode.so...(no debugging symbols
> found)...done. Loaded symbols for /usr/local/lib/php/20041030/recode.so
> Reading symbols from /usr/local/lib/librecode.so.3...(no debugging
> symbols found)...done. Loaded symbols for /usr/local/lib/librecode.so.3
Go read this page: http://cz2.php.net/recode, especially:
Warning
Crashes and startup problems of PHP may be encountered when
loading the recode as extension after loading any extension of
mysql or imap. Loading the recode before those extension has
proved to fix the problem. This is due a technical problem that
both the c-client library used by imap and recode have their own
hash_lookup() function and both mysql and recode have their own
hash_insert function.
Warning
The IMAP extension cannot be used in conjuction with the recode,
YAZ or Cyrus extensions. This is due to the fact that they both
share the same internal symbol.
Regards,
--
Marian Cerny <jojo at matfyz.cz>
Jabber: jojo at njs.netlab.cz
[ Najděte vždy aktuální MAPY ČR ve vašem mobilu a používejte je ZDARMA!
Aplikace oceněna 1. místem v soutěži Best Mobile Solution 2005.
Další podrobnosti na http://mapy.mobilfiesta.cz ]
More information about the freebsd-current
mailing list