summaryrefslogtreecommitdiffstats
path: root/pecl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pecl.sh')
-rw-r--r--pecl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pecl.sh b/pecl.sh
index cb55ef9..fbb999a 100644
--- a/pecl.sh
+++ b/pecl.sh
@@ -1,6 +1,6 @@
#!/bin/sh
EXT="-d extension=posix.so"
-DIR=$(/usr/bin/php -r 'echo ini_get("extension_dir");')
+DIR=$(/usr/bin/php -n -r 'echo ini_get("extension_dir");')
if [ -f $DIR/xml.so ] ; then
EXT="$EXT -d extension=xml.so"
fi