[PHP] patch installation

2002-03-08 Thread abw

I have downloaded the patch for the security bug found with the file 
uploading. One server has php 4.0.6 and the other has 4.1.1, but my problem 
is that the patch does not have any instructions.

I was going to use the patch command, but I don't know what parameters to use.

This question was asked on the mailing list a few days ago, but there were 
no replies.

Can anybody tell me how I might install the patch on the servers? Do I have 
to install it over the source and recompile? What command line might I use? 
It is a hot fix?

Thank you in advance.
Aaron


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] patch installation

2002-03-08 Thread abw

I guess that would have been nice! Solaris 8 x86 with Apache 1.3.22.

Both servers use the same operating system and web server.

what type of system are you running.  A little bit more information would be
helpfull.

Jim Lucas
www.bend.com

- Original Message -
From: abw [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 08, 2002 1:21 PM
Subject: [PHP] patch installation


  I have downloaded the patch for the security bug found with the file
  uploading. One server has php 4.0.6 and the other has 4.1.1, but my
problem
  is that the patch does not have any instructions.
 
  I was going to use the patch command, but I don't know what parameters to
use.
 
  This question was asked on the mailing list a few days ago, but there were
  no replies.
 
  Can anybody tell me how I might install the patch on the servers? Do I
have
  to install it over the source and recompile? What command line might I
use?
  It is a hot fix?
 
  Thank you in advance.
  Aaron
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] patch installation

2002-03-08 Thread Jason Wong

On Saturday 09 March 2002 05:21, abw wrote:
 I have downloaded the patch for the security bug found with the file
 uploading. One server has php 4.0.6 and the other has 4.1.1, but my problem
 is that the patch does not have any instructions.

 I was going to use the patch command, but I don't know what parameters to
 use.

 This question was asked on the mailing list a few days ago, but there were
 no replies.

There was, search the archives.

 Can anybody tell me how I might install the patch on the servers? Do I have
 to install it over the source and recompile? What command line might I use?
 It is a hot fix?

untar/unzip the file --- rfc1867.c.diff-4.0.6

cd /path/to/source/php-4.0.06/main

You should have a file called rfc1867.c

then:

  patch rfc1867.c /path/to/where/you/extracted/rfc1867.c.diff-4.0.6

Then do the usual ./configure, make, etc.


-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk

/*
Don't feed the bats tonight.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php