Skip to content

Commit 1f42074

Browse files
author
thom
committed
Use variable for PHP location (Backport from !711)
1 parent 98ba3c4 commit 1f42074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/cron.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then
1010
fi
1111

1212
cd /usr/local/ispconfig/server
13-
/usr/bin/php -q \
13+
$(which php) -q \
1414
-d disable_classes= \
1515
-d disable_functions= \
1616
-d open_basedir= \

0 commit comments

Comments
 (0)