how to apply php patch file: 4.2.1 -> 4.2.2

From: Date: Tue, 30 Jul 2002 19:04:45 +0000
Subject: how to apply php patch file: 4.2.1 -> 4.2.2
Groups: php.general 
Request: Send a blank email to php-general+get-110398@lists.php.net to get a copy of this message
I couldn't find any adequate instructions on this anywhere on this list or on the php web site so here is for anyone who needs it. I had originally tried: patch <patchfile but that doesn't work, even though file names don't require any stripping with -p option, it is still required: -p0 My php sources are in /usr/local/src cp patchfile /usr/local/src cd /usr/local/src cp php-4.2.1 php-4.2.1.copy patch -p0 <patchfile mv php-4.2.1 php-4.2.2 mv php-4.2.1.copy php-4.2.1 Then you need to reconfigure, re-make php and install, restart apache. - Greg

« previous php.general (#110398) next »