the readme file should list the requirements for running iphp.
So far, I can see PHP 5 >= 5.1 is needed because of use of the readline_callback_handler_install function. and, php-cli is also needed.
also, PHP must be compiled with option --with-readline