summaryrefslogtreecommitdiff
path: root/tests/php/php_alias.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/php/php_alias.sh')
-rwxr-xr-xtests/php/php_alias.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/php/php_alias.sh b/tests/php/php_alias.sh
index 2c028ca..34c2918 100755
--- a/tests/php/php_alias.sh
+++ b/tests/php/php_alias.sh
@@ -13,4 +13,7 @@ then
exit;
fi
+LD_LIBRARY_PATH="$(cd $PWD/../.. && echo $PWD):${LD_LIBRARY_PATH}"
+export LD_LIBRARY_PATH
+
/usr/bin/php -d enable_dl=On -d extension_dir=../ext_dir -d extension=extfortest.so $1