1 # Include-able script to determine the location of our php if any
3 if [ -d "$DEV/php" -a -x "$DEV/php/bin/php" ]; then
6 elif [ -d "$HOME/.mediawiki/php" -a -x "$HOME/.mediawiki/php/bin/php" ]; then
7 # Previous home directory location to install php in
8 PHP
="$HOME/.mediawiki/php/bin/php"
9 elif [ -d "$HOME/.mwphp" -a -x "$HOME/.mwphp/bin/php" ]; then
10 # Previous home directory location to install php in
11 PHP
="$HOME/.mwphp/bin/php"