2016-01-20 139 views
1

我們正在安裝「星號」和「FreePBX的」在Ubuntu下這個文件14FreePBX:無效的數據庫權限。錯誤是:找不到驅動程序

http://wiki.freepbx.org/display/FOP/Installing+FreePBX+13+on+Ubuntu+Server+14.04.2+LTS

一切正常smothly去除了一兩件事,當我們在最後執行命令

./start_asterisk start 
./install -n 

我們收到此錯誤

[email protected]:/usr/src/freepbx# ./install -n 
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...Done! 
Preliminary checks done. Starting FreePBX Installation 
Checking if this is a new install...Yes (No /etc/amportal.conf file detected) 
Database Root installation checking credentials and permissions..Error! 
Invalid Database Permissions. The error was: could not find driver 

這裏是我的odbc.ini

[MySQL-asteriskcdrdb] 
Description=MySQL connection to 'asteriskcdrdb' database 
driver=MySQL 
server=localhost 
database=asteriskcdrdb 
Port=3306 
Socket=/var/run/mysqld/mysqld.sock 
option=3 

我們檢查了,我們已經在我們的系統上安裝了php pdo。

+0

你爲什麼triing安裝測試版? – arheops

+0

嘗試'/ usr/bin/env php -m | grep -i pdo'並確保爲PHP的CLI實例安裝了PDO,並確保您有一個pdo_mysql驅動程序。 – miken32

回答

2
apt-get install php-mysql 

似乎解決這個問題對我來說

相關問題