FreePBX 15 Installation error

Hello all, I’m installing a fresh install of FreePBX and Asterisk and am running into this issue attemnpting to install FreePBX

[[email protected] src]# tar zxf freepbx-15.0-latest.tgz
[[email protected] src]# cd freepbx
[[email protected] freepbx]# ./install -n --dbuser root --dbpass [pass --dbhost 127.0.0.1
Assuming you are Database Root
Checking if SELinux is enabled…Its not (good)!
Reading /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: 16.5.0
Checking if NodeJS is installed and we can get a version from it…Yes. Determined NodeJS version to be: 10.16.3
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
PHP Fatal error: Call to undefined function FreePBX\Install_() in /usr/src/freepbx/installlib/installcommand.class.php on line 547

Thanks for your help!

You may have one, but unless you have a really good reason, we always recommend installing the Distro ISO. Yes, it will wipe out your existing hard drive, but it’s guaranteed to have the right PHP version.

1 Like

FWIW…

FreePBX 15 installs without error here:

STARTING ASTERISK
Asterisk Started
Assuming you are Database Root
Checking if SELinux is enabled…Its not (good)!
No /etc/asterisk/asterisk.conf file detected. Installing…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: 16.5.0
Checking if NodeJS is installed and we can get a version from it…Yes. Determined NodeJS version to be: 11.15.0
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 tables admin, ampusers, cronmanager, featurecodes, freepbx_log, freepbx_settings, globals, module_xml, modules, notifications…Done
Empty asteriskcdrdb Database going to populate it
Initializing FreePBX Settings
Changing AMPMGRPASS [amp111] to match what was given at install time: ********************************
Finished initalizing settings
Copying files (this may take a bit)…

For details of the installation procedure, see:

https://www.dslreports.com/forum/r30661088-PBX-FreePBX-for-the-Raspberry-Pi#30661088

Solved this issue by obtaining a different repo php. Finally was able to install FreePBX Asterisk 16 AvanatFax and IAXModem 1.3 and working successfully!!!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.