Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9175569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:56:12+00:00 2026-06-17T16:56:12+00:00

I need to install this patch in my PHP code: https://bugs.php.net/patch-display.php?bug_id=44522&patch=uploads_larger_than_2g_HEAD_v2&revision=latest Can any body

  • 0

I need to install this patch in my PHP code:

https://bugs.php.net/patch-display.php?bug_id=44522&patch=uploads_larger_than_2g_HEAD_v2&revision=latest

Can any body explain how?

My PHP Version : 5.4.10

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:56:13+00:00Added an answer on June 17, 2026 at 4:56 pm

    You must have the source and patch file before you can patch it. Its quite simple.

    1. Go to the root directory of PHP 5.4 source code
    2. Run patch -p0 < /path/to/patch.patch
    3. If it shows an error, undo it by patch -R < /path/to/patch.patch. and adjust the -p num value. and go to step 2. Here -p is the smallest prefix containing num leading slashes from each file name found in the patch file. A sequence of one or more adjacent slashes is counted as a single slash. This controls how file names found in the patch file are treated, in case you keep your files in a different directory than the person who sent out the patch. For example, supposing the file name in the patch file was

      /u/howard/src/blurfl/blurfl.c
      

      setting -p0 gives the entire file name unmodified, -p1 gives

      u/howard/src/blurfl/blurfl.c
      

      without the leading slash, -p4 gives

      blurfl/blurfl.c
      

      and not specifying -p at all just gives you blurfl.c. Whatever you end up with is looked for either in the current directory, or the directory specified by the -d option.
      The number after -p can be determined by following

    4. After that you need to compile this patched version of PHP. Compiling instructions are included PHP source directory. To build it in Unix use README.UNIX-BUILD-SYSTEM file and for Windows use README.WIN32-BUILD-SYSTEM file.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to install this feature on my webserver. this error message is looking
I'm trying to find the security code in this php for a mailer. Please
I need to apply a patch to the vim source code, but I am
I need to install an assembly in GAC using c#. Below is my code:
I need to install some CPAN modules in a linux box which I do
I need to install a USB driver for a device so that it is
I need to install a MySql server on my Windows machine to run a
I need to install Rails 2.3.2 and Rails 2.3.4 simultaneously on my Ubuntu 9.04
I need to install mysql on the system. As usual I typed in gem
I need to install a piece of software with a lot of files. Our

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.