Welcome! Log In Create A New Profile

Advanced

PHP 5.2.12 Patch?

Posted by skaffen 
skaffen
PHP 5.2.12 Patch?
January 14, 2010 10:48AM
Hello

I'm using php-fpm-0.6 patch against 5.2.11 with nginx on Centos 5.4.
and am loving it. Clean and fast.

I'd like to upgrade to 5.2.12 to get those latest security fixes -
will there be a 5.2.12 patch or will I have to try 5.3.1?

Best wishes.

Greg.
Re: PHP 5.2.12 Patch?
January 14, 2010 04:22PM
Try the 5.2.11 patch - it might work.

I am not sure if I have yet, I think I wanted to try but I forget if I did. :)

On Thu, Jan 14, 2010 at 7:43 AM, skaffen <atomicbiscuit@googlemail.com> wrote:
> Hello
>
> I'm using php-fpm-0.6 patch against 5.2.11 with nginx on Centos 5.4.
> and am loving it. Clean and fast.
>
> I'd like to upgrade to 5.2.12 to get those latest security fixes -
> will there be a 5.2.12 patch or will I have to try 5.3.1?
>
> Best wishes.
>
> Greg.
>
iChaitanya
Re: PHP 5.2.12 Patch?
January 15, 2010 12:40AM
Hi,

I've tried the 5.2 patch (php-fpm-0.6~5.2.patch file) with PHP 5.2.12
and it's working fine.

On Jan 14, 8:43 pm, skaffen <atomicbisc...@googlemail.com> wrote:
> Hello
>
> I'm using php-fpm-0.6 patch against 5.2.11 with nginx on Centos 5.4.
> and am loving it. Clean and fast.
>
> I'd like to upgrade to 5.2.12 to get those latest security fixes -
> will there be a 5.2.12 patch or will I have to try 5.3.1?
>
> Best wishes.
>
> Greg.
skaffen
Re: PHP 5.2.12 Patch?
January 15, 2010 05:30AM
yes for the record I can also confirm that php-fpm-0.6~5.2.patch works
fine against 5.2.12. now compiled, installed and in production.

On Jan 15, 4:56 am, iChaitanya <icha...@gmail.com> wrote:
> Hi,
>
> I've tried the 5.2 patch (php-fpm-0.6~5.2.patch file) with PHP 5.2.12
> and it's working fine.
>
> On Jan 14, 8:43 pm, skaffen <atomicbisc...@googlemail.com> wrote:
>
>
>
> > Hello
>
> > I'm using php-fpm-0.6 patch against 5.2.11 with nginx on Centos 5.4.
> > and am loving it. Clean and fast.
>
> > I'd like to upgrade to 5.2.12 to get those latest security fixes -
> > will there be a 5.2.12 patch or will I have to try 5.3.1?
>
> > Best wishes.
>
> > Greg.
陈智宏
Re: PHP 5.2.12 Patch?
January 15, 2010 05:32AM
Good news!

I have been waiting for this 5.2.12 patch too long!

On Fri, Jan 15, 2010 at 12:56 PM, iChaitanya <ichaits@gmail.com> wrote:

> Hi,
>
> I've tried the 5.2 patch (php-fpm-0.6~5.2.patch file) with PHP 5.2.12
> and it's working fine.
>
> On Jan 14, 8:43 pm, skaffen <atomicbisc...@googlemail.com> wrote:
> > Hello
> >
> > I'm using php-fpm-0.6 patch against 5.2.11 with nginx on Centos 5.4.
> > and am loving it. Clean and fast.
> >
> > I'd like to upgrade to 5.2.12 to get those latest security fixes -
> > will there be a 5.2.12 patch or will I have to try 5.3.1?
> >
> > Best wishes.
> >
> > Greg.
>
Re: PHP 5.2.12 Patch?
January 15, 2010 10:19PM
The old patch http://php-fpm.org/downloads/php-5.2.11-fpm-0.5.13.diff.gz
I tried this patch, It can also support php-5.2.12.

But at first, you need to rebuild configure file
try
./buildconf --force
陈智宏
Re: PHP 5.2.12 Patch?
January 16, 2010 12:44AM
I have already applied php-fpm-0.6~5.2.patch to php-5.2.12

It's worth to try. The new version of fpm is easier to deploy and the code
is more independent to php source code.

On Sat, Jan 16, 2010 at 11:19 AM, filebackup <nginx-forum@nginx.us> wrote:

> The old patch http://php-fpm.org/downloads/php-5.2.11-fpm-0.5.13.diff.gz
> I tried this patch, It can also support php-5.2.12.
>
> But at first, you need to rebuild configure file
> try
> ./buildconf --force
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?3,41181,41901#msg-41901
>
>
Re: PHP 5.2.12 Patch?
January 16, 2010 07:16AM
我在我自己的机器上使用,没有问题 。晕死。



陈智宏 Wrote:
-------------------------------------------------------
> I have already applied php-fpm-0.6~5.2.patch to
> php-5.2.12
>
> It's worth to try. The new version of fpm is
> easier to deploy and the code
> is more independent to php source code.
>
> On Sat, Jan 16, 2010 at 11:19 AM, filebackup
> wrote:
>
> > The old patch
> http://php-fpm.org/downloads/php-5.2.11-fpm-0.5.13
> .diff.gz
> > I tried this patch, It can also support
> php-5.2.12.
> >
> > But at first, you need to rebuild configure file
> > try
> > ./buildconf --force
> >
> > Posted at Nginx Forum:
> >
> http://forum.nginx.org/read.php?3,41181,41901#msg-
> 41901
> >
> >
W-Mark Kubacki
Re: PHP 5.2.12 Patch?
March 01, 2010 01:02PM
On 15 Jan., 05:56, iChaitanya <icha...@gmail.com> wrote:
>
> I've tried the 5.2 patch (php-fpm-0.6~5.2.patch file) with PHP 5.2.12
> and it's working fine.
>

The fpm-0.5.2 patch is not working, although the file in downloads
directory suggests otherwise.
Luckily only few modifications have been needed to get it working.
Here they are:
http://binhost.ossdl.de/distfiles/php-5.2.12-fpm-0.5.13.diff.gz

--
Mark
http://mark.ossdl.de/
Re: PHP 5.2.12 Patch?
March 01, 2010 02:58PM
On Mon, Mar 1, 2010 at 10:01 AM, W-Mark Kubacki
<wmark.google@hurrikane.de> wrote:

> The fpm-0.5.2 patch is not working, although the file in downloads
> directory suggests otherwise.
> Luckily only few modifications have been needed to get it working.
> Here they are:
> http://binhost.ossdl.de/distfiles/php-5.2.12-fpm-0.5.13.diff.gz

Updated the one in /downloads/

I tried it and it had no issues (otherwise I wouldn't have copied the
same 5.2.11 patch over as 5.2.12...) I'm not sure why it works for
some people and not for others.

Someone should also check if this 5.2.12 one works for 5.2.13. If it
does let me know and I'll make sure to copy that over too.

Thanks :)
Vlad V. Teterya
Re: PHP 5.2.12 Patch?
March 01, 2010 05:16PM
> Someone should also check if this 5.2.12 one works for 5.2.13. If it
> does let me know and I'll make sure to copy that over too.
>
> Thanks :)

Hi, Michael

# patch -d php-5.2.13 -p1 < php-5.2.12-fpm-0.5.13.diff

patching file sapi/cgi/config9.m4
patching file sapi/cgi/fastcgi.c
Hunk #3 FAILED at 256.
Hunk #4 succeeded at 352 (offset 3 lines).
Hunk #6 succeeded at 891 (offset 3 lines).
Hunk #8 succeeded at 982 (offset 3 lines).
1 out of 9 hunks FAILED -- saving rejects to file sapi/cgi/
fastcgi.c.rej
patching file sapi/cgi/fastcgi.h
patching file sapi/cgi/fpm/acinclude.m4
patching file sapi/cgi/fpm/conf/php-fpm.conf.in
patching file sapi/cgi/fpm/config.m4
patching file sapi/cgi/fpm/fpm_arrays.h
patching file sapi/cgi/fpm/fpm_atomic.h
patching file sapi/cgi/fpm/fpm_autoconf.h.in
patching file sapi/cgi/fpm/fpm.c
patching file sapi/cgi/fpm/fpm_children.c
patching file sapi/cgi/fpm/fpm_children.h
patching file sapi/cgi/fpm/fpm_cleanup.c
patching file sapi/cgi/fpm/fpm_cleanup.h
patching file sapi/cgi/fpm/fpm_clock.c
patching file sapi/cgi/fpm/fpm_clock.h
patching file sapi/cgi/fpm/fpm_conf.c
patching file sapi/cgi/fpm/fpm_conf.h
patching file sapi/cgi/fpm/fpm_config.h
patching file sapi/cgi/fpm/fpm_env.c
patching file sapi/cgi/fpm/fpm_env.h
patching file sapi/cgi/fpm/fpm_events.c
patching file sapi/cgi/fpm/fpm_events.h
patching file sapi/cgi/fpm/fpm.h
patching file sapi/cgi/fpm/fpm_php.c
patching file sapi/cgi/fpm/fpm_php.h
patching file sapi/cgi/fpm/fpm_php_trace.c
patching file sapi/cgi/fpm/fpm_php_trace.h
patching file sapi/cgi/fpm/fpm_process_ctl.c
patching file sapi/cgi/fpm/fpm_process_ctl.h
patching file sapi/cgi/fpm/fpm_request.c
patching file sapi/cgi/fpm/fpm_request.h
patching file sapi/cgi/fpm/fpm_shm.c
patching file sapi/cgi/fpm/fpm_shm.h
patching file sapi/cgi/fpm/fpm_shm_slots.c
patching file sapi/cgi/fpm/fpm_shm_slots.h
patching file sapi/cgi/fpm/fpm_signals.c
patching file sapi/cgi/fpm/fpm_signals.h
patching file sapi/cgi/fpm/fpm_sockets.c
patching file sapi/cgi/fpm/fpm_sockets.h
patching file sapi/cgi/fpm/fpm_stdio.c
patching file sapi/cgi/fpm/fpm_stdio.h
patching file sapi/cgi/fpm/fpm_str.h
patching file sapi/cgi/fpm/fpm_trace.c
patching file sapi/cgi/fpm/fpm_trace.h
patching file sapi/cgi/fpm/fpm_trace_mach.c
patching file sapi/cgi/fpm/fpm_trace_pread.c
patching file sapi/cgi/fpm/fpm_trace_ptrace.c
patching file sapi/cgi/fpm/fpm_unix.c
patching file sapi/cgi/fpm/fpm_unix.h
patching file sapi/cgi/fpm/fpm_worker_pool.c
patching file sapi/cgi/fpm/fpm_worker_pool.h
patching file sapi/cgi/fpm/init.d/php-fpm.in
patching file sapi/cgi/fpm/Makefile.frag
patching file sapi/cgi/fpm/xml_config.c
patching file sapi/cgi/fpm/xml_config.h
patching file sapi/cgi/fpm/zlog.c
patching file sapi/cgi/fpm/zlog.h
patching file sapi/cgi/Makefile.frag



# cat sapi/cgi/fastcgi.c.rej
***************
*** 249,260 ****
}
}

void fcgi_shutdown(void)
{
if (is_initialized) {
zend_hash_destroy(&fcgi_mgmt_vars);
}
is_fastcgi = 0;
}

#ifdef _WIN32
--- 256,282 ----
}
}

+ void fcgi_set_is_fastcgi(int new_value)
+ {
+ is_fastcgi = new_value;
+ }
+
+ void fcgi_set_in_shutdown(int new_value)
+ {
+ in_shutdown = new_value;
+ }
+
void fcgi_shutdown(void)
{
if (is_initialized) {
zend_hash_destroy(&fcgi_mgmt_vars);
}
is_fastcgi = 0;
+
+ if (allowed_clients) {
+ free(allowed_clients);
+ allowed_clients = 0;
+ }
}

#ifdef _WIN32
Vlad V. Teterya
Re: PHP 5.2.12 Patch?
March 01, 2010 05:18PM
On 1 Бер, 21:56, Michael Shadle <mike...@gmail.com> wrote:
> On Mon, Mar 1, 2010 at 10:01 AM, W-Mark Kubacki
>
> <wmark.goo...@hurrikane.de> wrote:
> > The fpm-0.5.2 patch is not working, although the file in downloads
> > directory suggests otherwise.
> > Luckily only few modifications have been needed to get it working.
> > Here they are:
> >http://binhost.ossdl.de/distfiles/php-5.2.12-fpm-0.5.13.diff.gz
>
> Updated the one in /downloads/
>
> I tried it and it had no issues (otherwise I wouldn't have copied the
> same 5.2.11 patch over as 5.2.12...) I'm not sure why it works for
> some people and not for others.
>
> Someone should also check if this 5.2.12 one works for 5.2.13. If it
> does let me know and I'll make sure to copy that over too.
>
> Thanks :)


http://binhost.ossdl.de/distfiles/php-5.2.13-fpm-0.5.13.diff.gz
works for me
Re: PHP 5.2.12 Patch?
March 01, 2010 06:54PM
On Mon, Mar 1, 2010 at 2:11 PM, Vlad V. Teterya <vlad@server-labs.com.ua> wrote:

> http://binhost.ossdl.de/distfiles/php-5.2.13-fpm-0.5.13.diff.gz
> works for me

Copied it to the dir now too. Thanks.
陈智宏
Re: PHP 5.2.12 Patch?
March 01, 2010 09:04PM
Dear,

I have used the
http://php-fpm.org/downloads/0.6/php-fpm-0.6~5.2.patchhttp://php-fpm.org/downloads/0.6/php-fpm-0.6~5.2.patch
to apply the 5.2.12,works fine
http://php-fpm.org/downloads/0.6/
On Tue, Mar 2, 2010 at 7:52 AM, Michael Shadle <mike503@gmail.com> wrote:

> On Mon, Mar 1, 2010 at 2:11 PM, Vlad V. Teterya <vlad@server-labs.com.ua>
> wrote:
>
> > http://binhost.ossdl.de/distfiles/php-5.2.13-fpm-0.5.13.diff.gz
> > works for me
>
> Copied it to the dir now too. Thanks.
>
Re: PHP 5.2.12 Patch?
March 02, 2010 08:36PM
Vlad V. Teterya Wrote:
-------------------------------------------------------
> On 1 Бер, 21:56, Michael Shadle wrote:
> > On Mon, Mar 1, 2010 at 10:01 AM, W-Mark Kubacki
> >
> > wrote:
> > > The fpm-0.5.2 patch is not working, although
> the file in downloads
> > > directory suggests otherwise.
> > > Luckily only few modifications have been
> needed to get it working.
> > > Here they are:
> >
> >http://binhost.ossdl.de/distfiles/php-5.2.12-fpm-
> 0.5.13.diff.gz
> >
> > Updated the one in /downloads/
> >
> > I tried it and it had no issues (otherwise I
> wouldn't have copied the
> > same 5.2.11 patch over as 5.2.12...) I'm not
> sure why it works for
> > some people and not for others.
> >
> > Someone should also check if this 5.2.12 one
> works for 5.2.13. If it
> > does let me know and I'll make sure to copy that
> over too.
> >
> > Thanks :)
>
>
> http://binhost.ossdl.de/distfiles/php-5.2.13-fpm-0
> .5.13.diff.gz
> works for me

I applied the patch and everything installs except php-fpm files is not installed... am i missing something?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 141
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