12-05-2008
dkranes,
Installation of patches is easy but be careful with patch level. Make sure you download the correct patch level for your hardware.
before you can install Patch . you need to install the IBM updateinstaller and from their you can install the patch.
It is noted in the IBM boulder site so just read a little bit. "Make sure you have backup"
8 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi,
I have de-installed Windows SP2 on XP Pro. The new 'security features' are really annoying and don't add any value to an experienced user.
Also, SP2 also ruined performance of Netscape 7.1, and generally killed CPU performance.
I do not recommend installation of SP2, based on my... (2 Replies)
Discussion started by: Neo
2 Replies
2. AIX
I've recently installed ServicePack1 for Tecnology_Level 9 of AIX 5.2 .
The result of installation is "OK" but with oslevel -s i dont see the service pack installed ....
after many research i try (with many luck!!)
instfix -i|grep SP
and the result :
All filesets for 5200-08-01_SP... (1 Reply)
Discussion started by: BabylonRocker
1 Replies
3. AIX
After install fix pack or APAR, if aix need reboot? if not, do we need stop database and all applications before we install fix pack or APAR? (3 Replies)
Discussion started by: rainbow_bean
3 Replies
4. Windows & DOS: Issues & Discussions
Dear Sir / Madam,
With due respect, I am putting forwarad a question that whenever I am trying to check the current Service Pack & Hotfixes in Windows XP, I am getting the response like as under:
(Windows can't find the" qfecheck.exe " check it again) in GUI mode
... (1 Reply)
Discussion started by: swapan
1 Replies
5. AIX
Can anyone out there let me know what is the *common* Technology Level and Service Pack that everyone is at?
I am at
5300-06-04-0748 on all of my LPARs.
Also- does anyone have any guidelinies to rolling out new TL and Sps?
Thanks (4 Replies)
Discussion started by: seacros
4 Replies
6. AIX
Hi All,
I have this fix for AIX (5300-06-06-0811) and i need to install it.
How can i do this?
What are the prerequisites for this fix?
Thanks (1 Reply)
Discussion started by: lucaxvu
1 Replies
7. AIX
Hi All,
i'm try to update my aix 6100.06.05 to 6100.07.00.
i download the 4,5 GB of FixPack buy i don't have a required package (devices.chrp.pci.rte 6.1.7.0)
This package does not exist on the fix pack (i've check in the .toc file and in the .bff files)
On ibm website i see that this... (0 Replies)
Discussion started by: Zio Bill
0 Replies
8. AIX
Hi,
I'm about to update a 7.1 box from 7100-00-03-1115 to the latest level 7100-02-01-1245. Question: do I have to install all steps between them or can I just download the latest level and do a update_all? (8 Replies)
Discussion started by: iso
8 Replies
LEARN ABOUT PHP
xdiff_file_patch
XDIFF_FILE_PATCH(3) 1 XDIFF_FILE_PATCH(3)
xdiff_file_patch - Patch a file with an unified diff
SYNOPSIS
mixed xdiff_file_patch (string $file, string $patch, string $dest, [int $flags = DIFF_PATCH_NORMAL])
DESCRIPTION
Patches a $file with a $patch and stores the result in a file. $patch has to be an unified diff created by
xdiff_file_diff(3)/xdiff_string_diff(3) function. An optional $flags parameter specifies mode of operation.
PARAMETERS
o $file
- The original file.
o $patch
- The unified patch file. It has to be created using xdiff_string_diff(3), xdiff_file_diff(3) functions or compatible tools.
o $dest
- Path of the resulting file.
o $flags
- Can be either XDIFF_PATCH_NORMAL (default mode, normal patch) or XDIFF_PATCH_REVERSE (reversed patch). Starting from version
1.5.0, you can also use binary OR to enable XDIFF_PATCH_IGNORESPACE flag.
RETURN VALUES
Returns FALSE if an internal error happened, string with rejected chunks if patch couldn't be applied or TRUE if patch has been success-
fully applied.
EXAMPLES
Example #1
xdiff_file_patch(3) example
The following code applies unified diff to a file.
<?php
$old_version = 'my_script-1.0.php';
$patch = 'my_script.patch';
$errors = xdiff_file_patch($old_version, $patch, 'my_script-1.1.php');
if (is_string($errors)) {
echo "Rejects:
";
echo $errors;
}
?>
Example #2
Patch reversing example
The following code reverses a patch.
<?php
$new_version = 'my_script-1.1.php';
$patch = 'my_script.patch';
$errors = xdiff_file_patch($new_version, $patch, 'my_script-1.0.php', XDIFF_PATCH_REVERSE);
if (is_string($errors)) {
echo "Rejects:
";
echo $errors;
}
?>
SEE ALSO
xdiff_file_diff(3).
PHP Documentation Group XDIFF_FILE_PATCH(3)