Skip to content

Commit ab87ccd

Browse files
author
Till Brehm
committed
Merge branch 'feature/use-php-from-path-in-server-sh' into 'develop'
Use PHP from path in server.sh See merge request ispconfig/ispconfig3!1676
2 parents f512e03 + 4d2b2f5 commit ab87ccd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/server.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then
1515
fi
1616

1717
cd /usr/local/ispconfig/server
18-
/usr/bin/php -q \
18+
$(which php) -q \
1919
-d disable_classes= \
2020
-d disable_functions= \
2121
-d open_basedir= \
2222
/usr/local/ispconfig/server/server.php
2323

2424
cd /usr/local/ispconfig/security
25-
/usr/bin/php -q \
25+
$(which php) -q \
2626
-d disable_classes= \
2727
-d disable_functions= \
2828
-d open_basedir= \

0 commit comments

Comments
 (0)