Install Asterisk+FreePBX, hands hooks?

So, I decided to raise their first PBX for Asterisk! There are all sorts of distros did not juzat.... all pens. Began to smoke a manual:
asterisk-pbx.ru/wiki/asterisk_install/asterisk-13_...

So I downloaded ubuntu 16.04 and began to put as the manual for 14 bounty collided with a rake but defeated them(even the asterisk console started and running Christmas tree!!), until the installation of FreePBX. Here I have on the first step fell jamb:
./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
root@asterisk:/usr/src/freepbx#


Thought well I screwed up, I think the username and password to the database, I would like to solve. renamed configs to /usr/src/freepbx amportal.conf and asterisk.but conf ./install_amp gave the same result, a new installation has not started :(

Here I am interested in several questions:
1.Connecting to database..FAILED - it is clear, maybe I screwed up the questions when you install the login and password to the database might have dared reinstallation.
2. [FATAL] mysql PHP libraries not installed - what does he want? all installed, rechecked even based on can module which is not worth it? or is the error something related?
3. As with a clean slate to start ./install_amp ? You need to cut that he thought I run it the first time? Rename the configs as I gvooril above did not work....

Anyway, overall what else can you suggest?
July 9th 19 at 10:25
4 answers
July 9th 19 at 10:27
Solution
The experience, stuffed a lot of cones this FreePBX. Put a clean Asterisk. I assure you, you'll love it. And preferably on CentOS.
in an extreme case, install asterisk from package - Janick.Turcot commented on July 9th 19 at 10:30
July 9th 19 at 10:29
Agree. Pure Asterisk is better.
The only minus with colleagues will be difficult to communicate. In the spirit, "and how do you work without freepbx?"

And the problem, it seems that you have not the package "php-mysql"
July 9th 19 at 10:31
[FATAL] mysql PHP libraries not installed

apt-get install php5-mysqlnd
Thanks, I'll try. I would like to know how it all again from scratch to run setup via FreePBX ./install_amp or installing this package solves the connection problem(first line of error)? - Janick.Turcot commented on July 9th 19 at 10:34
no libs to the database, therefore no database connection - Dario_Reichert34 commented on July 9th 19 at 10:37
The package is installed php-mysqlnd - Pear commented on July 9th 19 at 10:40
do ofdocumentation
wiki.freepbx.org/display/FOP/Installing+FreePBX+13... - Dario_Reichert34 commented on July 9th 19 at 10:43
in Ubuntu, no 16 5th PHP - Pear commented on July 9th 19 at 10:46
July 9th 19 at 10:33
FreePBX to communicate with the MySQL libmyodbc driver which Ubuntu 16.04 removed from the repository, and therefore not working.
Problem description here: issues.freepbx.org/browse/FREEPBX-12207

Find more questions by tags AsteriskSIPSoftware