THRIFT-1478 TJSONProtocol in PHP
Patch: Greg Fodor, Andrew Grumet, Roger Meier

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1235403 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/Makefile.am b/lib/php/Makefile.am
old mode 100644
new mode 100755
index 07242f9..b7c7100
--- a/lib/php/Makefile.am
+++ b/lib/php/Makefile.am
@@ -17,6 +17,11 @@
 # under the License.
 #
 
+
+if WITH_TESTS
+SUBDIRS = test
+endif
+
 %.so:
 	cd src/ext/thrift_protocol/ \
 	  && $(MAKE)