diff --git a/.gitignore b/.gitignore
index 0dff6bb78245c1f88080e93cbef5a484cfb8bd7c..291b9a63d50515a367ad9577c6d5995d316e05e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,7 +34,10 @@ tests/PHPUnit/Integration/processed/
 tests/PHPUnit/phpunit.xml
 tests/results/
 tests/lib/xhprof-0.9.2/extension/.libs
+tests/lib/xhprof-0.9.2/extension/.deps
 tests/lib/xhprof-0.9.2/extension/Makefile
+tests/lib/xhprof-0.9.2/extension/Makefile.fragments
+tests/lib/xhprof-0.9.2/extension/Makefile.global
 tests/lib/xhprof-0.9.2/extension/Makefile.objects
 tests/lib/xhprof-0.9.2/extension/config.log
 tests/lib/xhprof-0.9.2/extension/config.nice
@@ -43,4 +46,18 @@ tests/lib/xhprof-0.9.2/extension/libtool
 tests/lib/xhprof-0.9.2/extension/modules
 tests/lib/xhprof-0.9.2/extension/xhprof.la
 tests/lib/xhprof-0.9.2/extension/xhprof.lo
+tests/lib/xhprof-0.9.2/extension/aclocal.m4
+tests/lib/xhprof-0.9.2/extension/autom4te.cache
+tests/lib/xhprof-0.9.2/extension/config.guess
+tests/lib/xhprof-0.9.2/extension/config.h
+tests/lib/xhprof-0.9.2/extension/config.h.in
+tests/lib/xhprof-0.9.2/extension/config.sub
+tests/lib/xhprof-0.9.2/extension/configure
+tests/lib/xhprof-0.9.2/extension/configure.in
+tests/lib/xhprof-0.9.2/extension/acinclude.m4
+tests/lib/xhprof-0.9.2/extension/install-sh
+tests/lib/xhprof-0.9.2/extension/ltmain.sh
+tests/lib/xhprof-0.9.2/extension/missing
+tests/lib/xhprof-0.9.2/extension/mkinstalldirs
+tests/lib/xhprof-0.9.2/extension/run-tests.php
 docs/
diff --git a/tests/README.md b/tests/README.md
index f018007dd609693f3f4c212b7f60140c3d2c5968..0ed3730dbc14b3dda8cafdfde185544247611b11 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -224,6 +224,7 @@ First, XHProf must be built (this guide assumes you're using a linux variant):
     
  * 	Build XHProf.
 
+		$ phpize
 		$ ./configure
 		$ make