Merge "Make update.php file executable"
[mediawiki.git] / maintenance / dev / start.sh
blobdd7363a8f2216f18a36d4e6a7f0303fa0c559bea
1 #!/bin/bash
3 if [ "x$BASH_SOURCE" == "x" ]; then echo '$BASH_SOURCE not set'; exit 1; fi
4 DEV=$(cd -P "$(dirname "${BASH_SOURCE[0]}" )" && pwd)
6 . "$DEV/includes/require-php.sh"
8 PORT=4881
10 echo "Starting up MediaWiki at http://localhost:$PORT/"
11 echo ""
13 cd "$DEV/../../"; # $IP
14 "$PHP" -S "localhost:$PORT" "$DEV/includes/router.php"