Skip to content

Latest commit

 

History

History

patches

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Patches for php-src

This is a collection of patches for various PHP versions in order to use CMake or due to upstream unresolved bugs. Each patch has a description attached in its header. They are automatically applied when building PHP with CMake in this repository.

To create a new patch:

git --no-pager format-patch -1 HEAD --stdout > some.patch

To modify existing patches:

cd php-src
git checkout -b some-patch

# Apply existing patch
git am -3 some.patch

# ... Make and commit changes

# Update some.patch file
git --no-pager format-patch -1 HEAD --stdout > some.patch

To update patches against the latest upstream tracking Git branches:

./bin/update-patches.sh