Installing freepbx 2.5.1 on ubuntu 8.04 64bit server

I are using ubuntu 8.04 64bit server with repos like asterisk (1.4.17) and all the other apps I need for freepbx.

I’ve downloaded free-2.5.1.tar.gz and untar it. databases set up.

when I go to /usr/src/freepbx and type “./install_amp” I get an error

-bash: ./install_amp: /usr/bin/php: bad interpreter: No such file or directory

I found the problem. php5-cli was not installed. I double check al the depended packages and once this was confirmed I was able to ./install_amp.