Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 14:56:17 -0300
From:      "Luiz Gustavo S. Costa" <luizgustavo@luizgustavo.pro.br>
To:        ohauer@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   Re: php5-5.3.6_1 with Segmentation fault (amd64)
Message-ID:  <BANLkTimpRg7aJarU0biz3kTUq9WRkmPcNg@mail.gmail.com>
In-Reply-To: <4E0A1437.3070703@FreeBSD.org>
References:  <BANLkTinJDN71V7XS5poiSMsd9ACvweH%2Bug@mail.gmail.com> <4E0A1437.3070703@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
not working ...

[root@gringo] ~# cd /tmp/
[root@gringo] /tmp# fetch
http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh
fixphpextorder.sh                             100% of 2661  B   15 MBps
[root@gringo] /tmp# sh fixphpextorder.sh
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
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/de=
bugging.html


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



2011/6/28 Olli Hauer <ohauer@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@gringo] ~# pkg_info | grep php5-5
>> php5-5.3.6_1 =A0 =A0 =A0 =A0PHP Scripting Language
>> [root@gringo] ~# php -v
>> Segmentation fault
>> [root@gringo] ~# php-fpm -h
>> Segmentation fault
>> [root@gringo] ~# which php-fpm
>> /usr/local/sbin/php-fpm
>> [root@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@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@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC =A0amd64
>>
>
> Please try this script
> http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh
>
>



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimpRg7aJarU0biz3kTUq9WRkmPcNg>