wiki.techinc.nl/maintenance/dev/includes/require-php.sh

8 lines
204 B
Bash

# Include-able script to require that we have a known php binary we can execute
. "$DEV/includes/php.sh"
if [ "x$PHP" == "x" -o ! -x "$PHP" ]; then
echo "Local copy of PHP is not installed"
exit 1
fi