Updated install script to check for php and apache