Welcome! Log In Create A New Profile

Advanced

PHP 5.2.11 Released---wait for FPM patch

Posted by fei 
fei
PHP 5.2.11 Released---wait for FPM patch
September 18, 2009 12:01AM
http://cn.php.net/distributions/php-5.2.11.tar.bz2


The PHP development team would like to announce the immediate availability of PHP 5.2.11. This release focuses on improving the stability of the PHP 5.2.x branch with over 75 bug fixes, some of which are security related. All users of PHP 5.2 are encouraged to upgrade to this release.

Security Enhancements and Fixes in PHP 5.2.11:

* Fixed certificate validation inside php_openssl_apply_verification_policy. (Ryan Sleevi, Ilia)
* Fixed sanity check for the color index in imagecolortransparent(). (Pierre)
* Added missing sanity checks around exif processing. (Ilia)
* Fixed bug #44683 (popen crashes when an invalid mode is passed). (Pierre)

Further details about the PHP 5.2.11 release can be found in the release announcement, and the full list of changes are available in the ChangeLog.
dreamcat four
Re: PHP 5.2.11 Released---wait for FPM patch
September 18, 2009 04:04AM
Theres no need for 0.5.14 patch file. The fpm-0.6.3 branch should be
fine for PHP-5.2.11. FPM-0.6.3 is not on the Wiki Site / Downloads
page, However its available unofficially from my GitHub repository.
Link: http://github.com/dreamcat4/php-fpm/downloads For those with bzr
vcs, use LightHouse.
高春辉
Re: PHP 5.2.11 Released---wait for FPM patch
September 19, 2009 07:34AM
in centos 64bit server, compile with fpm-0.6.5.patch, show error
message:

/usr/bin/ld: cannot find -l:libevent.a
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1

:(

On Sep 18, 4:03 pm, dreamcat four <dreamc...@gmail.com> wrote:
> Theres no need for 0.5.14 patch file. The fpm-0.6.3 branch should be
> fine for PHP-5.2.11. FPM-0.6.3 is not on the Wiki Site / Downloads
> page, However its available unofficially from my GitHub repository.
> Link:http://github.com/dreamcat4/php-fpm/downloadsFor those with bzr
> vcs, use LightHouse.
dreamcat four
Re: PHP 5.2.11 Released---wait for FPM patch
September 19, 2009 08:54AM
Please send me the full / complete log of this.

On Sat, Sep 19, 2009 at 12:32 PM, 高春辉 <gaochunhui@gmail.com> wrote:
>
> in centos 64bit server, compile with fpm-0.6.5.patch, show error
> message:
>
> /usr/bin/ld: cannot find -l:libevent.a
> collect2: ld returned 1 exit status
> make: *** [sapi/fpm/php-fpm] Error 1
>
> :(
高春辉
Re: PHP 5.2.11 Released---wait for FPM patch
September 19, 2009 09:34AM
sended.

On 9月19日, 下午8时51分, dreamcat four <dreamc...@gmail.com> wrote:
> Please send me the full / complete log of this.
>
> On Sat, Sep 19, 2009 at 12:32 PM, 高春辉 <gaochun...@gmail.com> wrote:
>
> > in centos 64bit server, compile with fpm-0.6.5.patch, show error
> > message:
>
> > /usr/bin/ld: cannot find -l:libevent.a
> > collect2: ld returned 1 exit status
> > make: *** [sapi/fpm/php-fpm] Error 1
>
> > :(
>
>
fei
Re: PHP 5.2.11 Released---wait for FPM patch
September 19, 2009 10:31AM
haha.paul gao...i use http://php-fpm.org/downloads/php-5.2.10-fpm-0.5.13.diff.gz
everything looks ok.
dreamcat four
Re: PHP 5.2.11 Released---wait for FPM patch
September 19, 2009 10:46AM
On Sat, Sep 19, 2009 at 3:31 PM, fei <nginx-forum@nginx.us> wrote:
>
> haha.paul gao...i use http://php-fpm.org/downloads/php-5.2.10-fpm-0.5.13.diff.gz
> everything looks ok.

It's not necessary to go as far back as 0.5.13 however. You could try
0.6.3 which has the embedded libevent.


Best regards,

dreamcat4
dreamcat4@gmail.com
dreamcat four
Re: PHP 5.2.11 Released---wait for FPM patch
September 19, 2009 06:12PM
On Sat, Sep 19, 2009 at 12:32 PM, 高春辉 <gaochunhui@gmail.com> wrote:
> /usr/bin/ld: cannot find -l:libevent.a
> collect2: ld returned 1 exit status
> make: *** [sapi/fpm/php-fpm] Error 1

Combined limitations between libtool and the linker program that comes
with centos. I couldn't do anything about it so I've passed the
question over to the libtool mailinglist. There's 2 option until we
can find a fix:

1) On 0.6.5
If your target machine has libevent installed as a shared library, you
can specify "--with-libevent=shared,usr" to avoid this error. This
requires the libevent.so shared library.

2) Revert to fpm-0.6.3 and build it as per the instructions in readme.markdown.
It's a more tried and tested compilation method.

And I'm going to go back into launchpad and mark the 0.6.5 branch as
experimental just to highlight that the fpm-0.6.5 branch is still in
alpha.


Best regards,

dremacat4
dreamcat4@gmail.com
高春辉
Re: PHP 5.2.11 Released---wait for FPM patch
September 21, 2009 11:04PM
thx,"--with-libevent=shared,usr" is fine。

On 9月20日, 上午6时09分, dreamcat four <dreamc...@gmail.com> wrote:
> On Sat, Sep 19, 2009 at 12:32 PM, 高春辉 <gaochun...@gmail.com> wrote:
> > /usr/bin/ld: cannot find -l:libevent.a
> > collect2: ld returned 1 exit status
> > make: *** [sapi/fpm/php-fpm] Error 1
>
> Combined limitations between libtool and the linker program that comes
> with centos. I couldn't do anything about it so I've passed the
> question over to the libtool mailinglist. There's 2 option until we
> can find a fix:
>
> 1) On 0.6.5
> If your target machine has libevent installed as a shared library, you
> can specify "--with-libevent=shared,usr" to avoid this error. This
> requires the libevent.so shared library.
>
> 2) Revert to fpm-0.6.3 and build it as per the instructions in readme.markdown.
> It's a more tried and tested compilation method.
>
> And I'm going to go back into launchpad and mark the 0.6.5 branch as
> experimental just to highlight that the fpm-0.6.5 branch is still in
> alpha.
>
> Best regards,
>
> dremacat4
> dreamc...@gmail.com
任晓磊
Re: PHP 5.2.11 Released---wait for FPM patch
September 21, 2009 11:10PM
what's the default behavior of --with-libevent ?

2009/9/22 高春辉 <gaochunhui@gmail.com>

>
> thx,"--with-libevent=shared,usr" is fine。
>

--
Ren Xiaolei
dreamcat four
Re: PHP 5.2.11 Released---wait for FPM patch
September 22, 2009 05:46AM
On Tue, Sep 22, 2009 at 4:08 AM, 任晓磊 <julyclyde@gmail.com> wrote:
> what's the default behavior of --with-libevent ?

To Statically link, and look for the file "libevent.a". With no
argument, or "yes", then configure will look in $prefix (which you can
set --with-prefix=). If you didn't set the --with-prefix, then
configure will look in $ac_default_path (/usr/local).

Although static link is broken, there's one more idea yet to try.
I'll report back any progress here on the mailing list.


Best regards,

dreamcat4
dreamcat4@gmail.com
Re: PHP 5.2.11 Released---wait for FPM patch
September 27, 2009 10:12PM
FYI I'm running the 5.2.10 patch with suhosin as well

It has 3 or 4 offsets in configure that are wrong but otherwise it
applies without an issue and seems to run flawlessly. So the 5.2.10
patch can still work with 5.2.11.


On Thu, Sep 17, 2009 at 9:01 PM, fei <nginx-forum@nginx.us> wrote:
>
> http://cn.php.net/distributions/php-5.2.11.tar.bz2
>
>
> The PHP development team would like to announce the immediate availability of PHP 5.2.11. This release focuses on improving the stability of the PHP 5.2.x branch with over 75 bug fixes, some of which are security related. All users of PHP 5.2 are encouraged to upgrade to this release.
>
> Security Enhancements and Fixes in PHP 5.2.11:
>
>    * Fixed certificate validation inside php_openssl_apply_verification_policy. (Ryan Sleevi, Ilia)
>    * Fixed sanity check for the color index in imagecolortransparent(). (Pierre)
>    * Added missing sanity checks around exif processing. (Ilia)
>    * Fixed bug #44683 (popen crashes when an invalid mode is passed). (Pierre)
>
> Further details about the PHP 5.2.11 release can be found in the release announcement, and the full list of changes are available in the ChangeLog.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?3,7583,7583#msg-7583
>
>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 227
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready