Installation error Freepbx 14 + php 7 + MySQL5.7.9

Hi there, Guys!

I am trying to install freepbx on a orangePi (Armhf proc) with an UBUNTU image (Armbian). I am following the steps from the page https://wiki.freepbx.org/display/FOP/Installing+FreePBX+14+on+Debian+8.8. All gone great until the freepbx installation (Except the installation of libmyodbc, but i will do this later, i hope).
I get the following error installing fwconsole (I guess):

Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
Stack trace:

  1. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  2. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  3. include() /var/lib/asterisk/bin/fwconsole:67
    Installing framework…
    Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
    Stack trace:
  4. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  5. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  6. include() /var/lib/asterisk/bin/fwconsole:67
    Done
    Trusting FreePBX…Trusted
    Installing base modules…Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
    Stack trace:
  7. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  8. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  9. include() /var/lib/asterisk/bin/fwconsole:67
    Installing all modules…Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
    Stack trace:
  10. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  11. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  12. include() /var/lib/asterisk/bin/fwconsole:67
    Done installing modules
    Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
    Stack trace:
  13. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  14. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  15. include() /var/lib/asterisk/bin/fwconsole:67

All verbose from installation:

root@orangepiplus:/usr/src/freepbx# ./install -r -f -vvv
PHP Warning: Declaration of FreePBX\Install\FreePBXHelpCommand::setCommand(FreePBX\Install\FreePBXInstallCommand $command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in /usr/src/freepbx/installlib/installhelpcommand.class.php on line 15
Database engine [mysql]:
Database name [asterisk]:
CDR Database name [asteriskcdrdb]:
Database username [root]:
Database password:
File owner user [asterisk]:
File owner group [asterisk]:
Filesystem location from which FreePBX files will be served [/var/www/html]:
Filesystem location from which Asterisk configuration files will be served [/etc/asterisk]:
Filesystem location for Asterisk modules [/usr/lib/asterisk/modules]:
Filesystem location for Asterisk lib files [/var/lib/asterisk]:
Filesystem location for Asterisk agi files [/var/lib/asterisk/agi-bin]:
Location of the Asterisk spool directory [/var/spool/asterisk]:
Location of the Asterisk run directory [/var/run/asterisk]:
Location of the Asterisk log files [/var/log/asterisk]:
Location of the FreePBX command line scripts [/var/lib/asterisk/bin]:
Location of the FreePBX (root) command line scripts [/usr/sbin]:
Location of the Apache cgi-bin executables [/var/www/cgi-bin]:
Directory for FreePBX html5 playback files [/var/lib/asterisk/playback]:
Force Install. This will reset everything!
Assuming you are Database Root
Checking if SELinux is enabled…Its not (good)!
Reading /etc/asterisk/asterisk.conf…Done
PHP Notice: Array to string conversion in /usr/src/freepbx/installlib/installcommand.class.php on line 238
Writing /etc/asterisk/asterisk.conf…Done
Checking if Asterisk is running and we can talk to it as the ‘asterisk’ user…Yes. Determined Asterisk version to be: 13.17.2
Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install…Yes (No /etc/freepbx.conf file detected)
Database Root installation checking credentials and permissions…Connected!
Empty asterisk Database going to populate it
Updating table admin…Done
Updating table ampusers…Done
Updating table cronmanager…Done
Updating table featurecodes…Done
Updating table freepbx_log…Done
Updating table freepbx_settings…Done
Updating table globals…Done
Updating table module_xml…Done
Updating table modules…Done
Updating table notifications…Done
Empty asteriskcdrdb Database going to populate it
Initializing FreePBX Settings
Changing AMPMGRPASS [amp111] to match what was given at install time: 97fdfe1b379a0393d5e0d90ec57d7626
Finished initalizing settings
Copying files (this may take a bit)…
9507/9507 [============================] 100% 36 secs/36 secs 6.0 MiB
Done
bin is: /var/lib/asterisk/bin
sbin is: /usr/sbin
Symlinking /var/lib/asterisk/bin/fwconsole to /usr/sbin/fwconsole …Done
Symlinking /var/lib/asterisk/bin/amportal to /usr/sbin/amportal …Done
Finishing up directory processes…Done!
Running variable replacement…Done
Creating missing #include files…Done
Setting up Asterisk Manager Connection…Done
Running through upgrades…
Checking for upgrades…
No further upgrades necessary
Finished upgrades
Setting FreePBX version to 14.0.1.16…Done
Writing out /etc/amportal.conf…Done
Writing out /etc/freepbx.conf…Done
Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
Stack trace:

  1. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  2. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  3. include() /var/lib/asterisk/bin/fwconsole:67
    Installing framework…
    Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
    Stack trace:
  4. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  5. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  6. include() /var/lib/asterisk/bin/fwconsole:67
    Done
    Trusting FreePBX…Trusted
    Installing base modules…Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
    Stack trace:
  7. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  8. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  9. include() /var/lib/asterisk/bin/fwconsole:67
    Installing all modules…Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
    Stack trace:
  10. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  11. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  12. include() /var/lib/asterisk/bin/fwconsole:67
    Done installing modules
    Whoops\Exception\ErrorException: Declaration of FreePBX\Console\Application\FWHelpCommand::setCommand($command) should be compatible with Symfony\Component\Console\Command\HelpCommand::setCommand(Symfony\Component\Console\Command\Command $command) in file /var/www/html/admin/libraries/FWHelper.class.php on line 15
    Stack trace:
  13. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/FWHelper.class.php:15
  14. Whoops\Run->handleError() /var/www/html/admin/libraries/FWHelper.class.php:15
  15. include() /var/lib/asterisk/bin/fwconsole:67
    Generating default configurations…
    Finished generating default configurations
    You have successfully installed FreePBX

Although the final last message above, FreePBX isn’t sucessfully installed. LOL

We do not support PHP 7 at this time.