Skip to content

Commit f94454a

Browse files
committed
Remove -n option from PECL script for shared extensions
When PHP is using shared extensions: ./configure --with-openssl=shared --enable-xml=shared The -n option in PHP command line (in the PECL shell script) removes them from being enabled and PECL script won't work ok anymore. This goes mainly for the xml and openssl PHP extensions which are needed to install PECL extensions via the https protocol and to parse XML files.
1 parent 9633d93 commit f94454a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pecl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ else
2525
fi
2626
fi
2727

28-
exec $PHP -C -n -q $INCARG -d date.timezone=UTC -d output_buffering=1 -d variables_order=EGPCS -d safe_mode=0 -d register_argc_argv="On" $INCDIR/peclcmd.php "$@"
28+
exec $PHP -C -q $INCARG -d date.timezone=UTC -d output_buffering=1 -d variables_order=EGPCS -d safe_mode=0 -d register_argc_argv="On" $INCDIR/peclcmd.php "$@"

0 commit comments

Comments
 (0)