From 5836c3de37ac498df1071b421e7fdb96c22761c4 Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 23 Jun 2017 03:53:09 +0200 Subject: [PATCH] Set symlink /usr/local/php to php- if requested. --- mod_php_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_php_install.sh b/mod_php_install.sh index b5e2a5c..282cde0 100755 --- a/mod_php_install.sh +++ b/mod_php_install.sh @@ -1221,7 +1221,7 @@ if $SYMLINK_PHP ; then if [ -L /usr/local/php ];then rm -f /usr/local/php fi - ln -s `basename $PREFIX_PHP` /usr/local/php + ln -s php-$MAJOR_VERSION /usr/local/php if [ "$?" = "0" ]; then echo_ok else