1#!/usr/local/bin/bash 2 3if [ "x$BASH_SOURCE" == "x" ]; then echo '$BASH_SOURCE not set'; exit 1; fi 4DEV=$(cd -P "$(dirname "${BASH_SOURCE[0]}" )" && pwd) 5 6. "$DEV/includes/require-php.sh" 7 8PORT=4881 9 10echo "Starting up MediaWiki at http://localhost:$PORT/" 11echo "" 12 13cd "$DEV/../../"; # $IP 14"$PHP" -S "localhost:$PORT" "$DEV/includes/router.php" 15