#!/bin/sh

PHPMOLE="./phpmole-ide.php"

if test -e /usr/local/bin/php 
then
   PHP="/usr/local/bin/php"
fi
if test -e /usr/bin/php 
then
    PHP="/usr/bin/php"
fi
if test -e /usr/bin/php4
then
    PHP="/usr/bin/php4"
fi
if test -e /bin/php 
then
    PHP="/bin/php"
fi
exec $PHP $PHPMOLE