php5-5.3.6_1 with Segmentation fault (amd64)

Luiz Gustavo S. Costa luizgustavo at luizgustavo.pro.br
Tue Jun 28 17:56:18 UTC 2011


not working ...

[root at gringo] ~# cd /tmp/
[root at gringo] /tmp# fetch
http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh
fixphpextorder.sh                             100% of 2661  B   15 MBps
[root at gringo] /tmp# sh fixphpextorder.sh
==============================
New INI is saved as /usr/local/etc/php/extensions.ini.new

Additional extension(s) not known by fixphpextorder.sh
are added to the end of new INI file.

Please review the new INI, and replace it on your own!
    Do some Basic tests:
    php -V
    php -m
    php -i
    apachectl graceful
    ...

If the segfault issue is not gone, or you cannot find the issue
    - ask on the ports@ mailing list
or
    - open a PR:
    Synopsys: lang/php5 Segmentation fault.
    Additional try debugging with command:
    gdb php ./php.core

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/debugging.html


[root at gringo] /tmp# php -v
Segmentation fault
[root at gringo] /tmp# php -V
Segmentation fault
[root at gringo] /tmp# php -m
Segmentation fault



2011/6/28 Olli Hauer <ohauer at freebsd.org>:
> On 2011-06-28 18:53, Luiz Gustavo S. Costa wrote:
>> Hey list !
>>
>> exist some trouble with php and amd64 ? (last php from ports)
>>
>>
>> [root at gringo] ~# pkg_info | grep php5-5
>> php5-5.3.6_1        PHP Scripting Language
>> [root at gringo] ~# php -v
>> Segmentation fault
>> [root at gringo] ~# php-fpm -h
>> Segmentation fault
>> [root at gringo] ~# which php-fpm
>> /usr/local/sbin/php-fpm
>> [root at gringo] ~# file /usr/local/sbin/php-fpm
>> /usr/local/sbin/php-fpm: ELF 64-bit LSB executable, x86-64, version 1
>> (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.2, not
>> stripped
>> [root at gringo] ~# uname -a
>> FreeBSD gringo.mundounix.com.br 8.2-RELEASE FreeBSD 8.2-RELEASE #0:
>> Thu Feb 17 02:41:51 UTC 2011
>> root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>>
>
> Please try this script
> http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh
>
>



-- 
  /\             Luiz Gustavo S. Costa
 /  \            Programmer at BSD Perimeter
/    \ /\/\/\    Visit the pfSense Project
/      \    \ \   http://www.pfsense.org
---------------------------------------------------------------------
BSD da serra carioca, Teresopolis (visite: http://miud.in/Inv)
Contatos: luizgustavo at luizgustavo.pro.br / lgcosta at pfsense.org
Blog: http://www.luizgustavo.pro.br


More information about the freebsd-ports mailing list