Stop what you're doing right now. BeBot is not to be run on y our webserver and served up as a web page. No webserver! Not only will it not work, but it creates a huge security issue due the the need for using sockets.
PHP is a flexible language, like other languages such as Perl, Python, Ruby, or even good old bash it can be used to make dynamic web pages or run as an interpreted scripting language. BeBot uses PHP as an interpreted scripting language.
What you need to do is install the PHP scripting environmental on your server/workstation/whatever and the StartBot.php that way. So instead of loading a webpage, you will open a command prompt and type:
php.exe StartBot.php.
Bebot will fire up and run in the DOS Window, and you'll get setup prompts and all that as expected.