THRIFT-5757: finish PHP cross-test integration
diff --git a/test/php/Makefile.am b/test/php/Makefile.am
index 60a63cf..9aefa9d 100644
--- a/test/php/Makefile.am
+++ b/test/php/Makefile.am
@@ -21,13 +21,12 @@
$(THRIFT) --gen php ../ThriftTest.thrift
$(THRIFT) --gen php:inlined ../ThriftTest.thrift
$(MKDIR_P) gen-php-classmap
- $(THRIFT) -out gen-php-classmap --gen php:classmap ../ThriftTest.thrift
+ $(THRIFT) -out gen-php-classmap --gen php:classmap,server,rest ../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/
+ ln -sf ../../../lib/php/src/ext/thrift_protocol/modules/thrift_protocol.so php_ext_dir/
+ ln -sf "$$(php-config --extension-dir)/sockets.so" php_ext_dir/
precross: stubs php_ext_dir