Commit maintenance/dev/ a set of bash scripts that can quickly download php 5.4,...
[lhc/web/wiklou.git] / maintenance / dev / start.sh
1 #!/bin/bash
2
3 if [[ "x$BASH_SOURCE" == "x" ]]; then echo '$BASH_SOURCE not set'; exit 1; fi
4 DEV=$(cd -P "$(dirname "${BASH_SOURCE[0]}" )" && pwd)
5
6 PORT=4881
7
8 echo "Starting up MediaWiki at http://localhost:$PORT/"
9 echo ""
10
11 cd $DEV/../../; # $IP
12 $DEV/php/bin/php -S localhost:$PORT