Freepbx Installation error

Hello,

I am getting the following error while trying to install freepbx from source.

./install_amp --username=asteriskuser --password=SOMEPASSWORD

At this point of installation i am getting the following error


PHP Fatal error: Cannot redeclare __parse_dialrulesfile() (previously declared in /usr/local/src/freepbx-2.8.0/upgrades/2.6.0beta1/tables.php:87) in /usr/local/src/freepbx-2.8.0/upgrades/2.8.0alpha2/tables.php on line 239


Please help.
Thanks

I’m having same problem.