Skip to content

Instantly share code, notes, and snippets.

@Rican7
Created December 30, 2013 17:47
Show Gist options
  • Save Rican7/8185316 to your computer and use it in GitHub Desktop.
Save Rican7/8185316 to your computer and use it in GitHub Desktop.
How to build PHP from source for testing/working on core
git checkout PHP-M.m # Replace M.m with the Major.minor versions (ex: PHP-5.4)
./buildconf --enable-maintainer-mode
./configure --prefix=/usr/local --enable-opcache=no --disable-all
make
make test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment