Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-16285

Installing freepbx 14 with php 7.1.11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Installation
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      15
    • Distro Version:
      Debian SID

      Description

      Hi,

      When trying to install fpbx 14, i get the information bellow.

      PHP 7.1.11

      Is this some fine tune for PHP 7.1 that is needed?

       

      root@dRecord:/usr/local/src/asterisk/freepbx# ./install
      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/local/src/asterisk/freepbx/installlib/installhelpcommand.class.php on line 15
      Database engine [mysql]:
      Database name [asterisk]:
      CDR Database name [asteriskcdrdb]:
      Database username [root]: freepbx
      Database password: xxxxxxxx
      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]:
      Checking if SELinux is enabled...Its not (good)!
      No /etc/asterisk/asterisk.conf file detected. Installing...PHP Warning:  Illegal string offset 'directories' in /usr/local/src/asterisk/freepbx/amp_conf/htdocs/admin/libraries/BMO/LoadConfig.class.php on line 317
      PHP Fatal error:  Uncaught Error: Cannot use string offset as an array in /usr/local/src/asterisk/freepbx/amp_conf/htdocs/admin/libraries/BMO/LoadConfig.class.php:317
      Stack trace:
      #0 /usr/local/src/asterisk/freepbx/amp_conf/htdocs/admin/libraries/BMO/LoadConfig.class.php(81): FreePBX\LoadConfig->explodeConfig(Array)
      #1 /usr/local/src/asterisk/freepbx/amp_conf/htdocs/admin/libraries/BMO/LoadConfig.class.php(41): FreePBX\LoadConfig->loadConfig('asterisk.conf', '/usr/local/src/...')
      #2 /usr/local/src/asterisk/freepbx/installlib/installer.class.php(47): FreePBX\LoadConfig->__construct('Fake FreePBX Ob...', 'asterisk.conf', '/usr/local/src/...')
      #3 /usr/local/src/asterisk/freepbx/installlib/installcommand.class.php(214): FreePBX\Install\Installer->asterisk_conf_read('/usr/local/src/...')
      #4 /usr/local/src/asterisk/freepbx/amp_conf/htdocs/admin/libraries/Composer/vendor/symfony/console/Command/Command.php(264): FreePBX\Install\FreePBXInstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\ in /usr/local/src/asterisk/freepbx/amp_conf/htdocs/admin/libraries/BMO/LoadConfig.class.php on line 317
      root@dRecord:/usr/local/src/asterisk/freepbx#

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jasb jasb
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.