[nycbug-talk] php 4 on freebsd 5.4 coring

pete wright nomadlogic
Wed Jun 1 12:39:40 EDT 2005

On 6/1/05, Steve Rieger <steve.rieger at tbwachiat.com> wrote:
> hi all am wondering is anybody else thats running fbsd 5.4 php4
> apache1, and about 10 php extensions, are noticing any issues
> when i run anything via php command line it cores, and the gdb gives me
> this from the core file
> 55F_10_25_4_27# gdb /usr/local/bin/php php.core
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
> you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "i386-marcel-freebsd"...(no debugging
> symbols found)...
> Core was generated by `php'.
> Program terminated with signal 6, Aborted.

php exited with "signal 6", you may find reference to this in the
source code.  I'm guessing it's just segfaulting....

> Reading symbols from /usr/local/lib/libcrypto.so.3...(no debugging
> symbols found)...done.

from here on out debugging support was not compiled into any of the
php modules.  Your best bet if you want to try debugging this code is
to recompile with debugging flags turned on.
<snipping rest of messages out>

I have have php running on a 5.4 system now, although the code is
being called by apache2, not apache 1.   I assume when you try to load
a "hello world" type php page you get an error.  If it does generate
an error is any info in there helpfull?


Pete Wright
NYC's *BSD User Group

More information about the talk mailing list