S
S
Stanislav Smirnov2016-05-30 23:08:23
Asterisk
Stanislav Smirnov, 2016-05-30 23:08:23

Installing Asterisk+FreePBX, hands on hooks?

And so, I decided to raise my first PBX to Asterisk! I did not use any distros there .... all with pens. I started smoking the manual:
asterisk-pbx.ru/wiki/asterisk_install/asterisk-13_...
I downloaded this ubuntu 16.04 and started installing it, since the manual for 14 bubunta ran into a rake but defeated them (even the asterisk was launched into the console and the trees are working !!), up to installing FreePBX. Here, at the very first step, a jamb fell out:

./install_amp
.......
Checking for /etc/asterisk/asterisk.conf..OK
Reading /etc/asterisk/asterisk.conf..OK
Using asterisk as PBX Engine
Checking for Asterisk version..13.9.1
Checking for selinux..OK
Connecting to database..FAILED
[FATAL] mysql PHP libraries not installed
[email protected]:/usr/src/freepbx#

I thought I screwed up, I think the login and password to the database, I would like to solve. renamed the configs to /usr/src/freepbx amportal.conf and asterisk.conf but ./install_amp gave the same result, the new installation did not start :(
Here I am interested in a few questions:
1.Connecting to database..FAILED - this is understandable, maybe 2. [ FATAL
] mysql PHP libraries not installed – what does it need?
3. How can I run ./install_amp from a clean slate ?
And in general, in general, what else can you suggest?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
G
gadzhi15, 2016-05-30
@squard72

By experience, I got a lot of bumps with this FreePBX. Install a clean Asterisk. I assure you, you will love it. And preferably on CentOS.

H
Henry, 2016-05-30
@Henryh

I agree. Pure Asterisk is better.
The only negative is that it will be difficult to communicate with colleagues. In the spirit, "how does it work for you without freepbx?"
And on the problem, it seems that you do not have the package "php-mysql"

V
Vladimir, 2016-05-31
@rostel

[FATAL] mysql PHP libraries not installed

apt-get install php5-mysqlnd

E
elsin16, 2016-07-20
@elsin16

FreePBX uses the libmyodbc driver to communicate with MySQL, which was removed from the repository in Ubuntu 16.04, and therefore does not work.
Issue description here: issues.freepbx.org/browse/FREEPBX-12207

B
BAF285, 2021-09-26
@BAF285

Here it is well shown
https://bafista.ru/freepbx-15-distro-ustanovka-btr...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question