I think there is nothing in the code (yet) that requires php5. So all you need to do is to make sure that bebot tries to use php4, for that you may have to edit Main.php. Try php -v in a command prompt on your server, it tells you the php version. If that isn't 4 you have to point it to the right executable.