summaryrefslogtreecommitdiff
path: root/test/php
diff options
context:
space:
mode:
authorJames E. King III <jking@apache.org>2019-02-10 11:13:23 -0500
committerJames E. King III <jking@apache.org>2019-02-10 13:11:46 -0500
commite53d23c16c806c6da62ebaa7f205328cf710d9a5 (patch)
tree58bf0f93306653c7364ddc89866f3e6d3248e0ae /test/php
parent2b70c1df2bb2c1667f30dff6d4b263459fabe91a (diff)
downloadthrift-e53d23c16c806c6da62ebaa7f205328cf710d9a5.tar.gz
THRIFT-4794: finish php json cross test
Diffstat (limited to 'test/php')
-rwxr-xr-xtest/php/Makefile.am1
-rw-r--r--test/php/test_php.ini1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/php/Makefile.am b/test/php/Makefile.am
index 5c42321c1..52765ee3b 100755
--- a/test/php/Makefile.am
+++ b/test/php/Makefile.am
@@ -26,6 +26,7 @@ stubs: ../ThriftTest.thrift
php_ext_dir:
mkdir -p php_ext_dir
ln -s ../../../lib/php/src/ext/thrift_protocol/modules/thrift_protocol.so php_ext_dir/
+ ln -s "$$(php-config --extension-dir)/json.so" php_ext_dir/
ln -s "$$(php-config --extension-dir)/sockets.so" php_ext_dir/
precross: stubs php_ext_dir
diff --git a/test/php/test_php.ini b/test/php/test_php.ini
index 3f9bb21e2..aeb67cbd4 100644
--- a/test/php/test_php.ini
+++ b/test/php/test_php.ini
@@ -1,2 +1,3 @@
extension=thrift_protocol.so
+extension=json.so
extension=sockets.so