Cannot Install Amp

Some please help I cannot install amp. I get this error

Checking for PEAR DB…FAILED
[FATAL] PEAR must be installed (requires DB.php). Include path: .:/usr/share/pear

However, Pear is installed in /usr/share/pear/ I also have in my php.ini file

;***** Added by go-pear
include_path=".:/root/PEAR:/usr/lib64/php/modules"
;*****
include_path=".:/usr/share/pear"

What am i missing. Can anyone please help.

Are you sure that you’ve created the DB with

mysqladmin create asterisk
mysqladmin create asteriskcdrdb
mysql asterisk < SQL/newinstall.sql
mysql asteriskcdrdb < SQL/cdr_mysql_table.sql

Hello

hmm. no i didnt. I went into mysql to create those databases. will that be an issue

Well, in first time, are you follow the instructions to install freepbx given in this page? http://www.freepbx.org/support/documentation/installation/install-process-for-centos-5-1 that describes how to install it… I suposse your problem has to be witth the DB that freepbxx need to run…

if Centos based,

yum install php-pear-DB

otherwise

pear install DB

Joe

I am tried all that but still no luck i am at my wits end. Any other suggestions.

Download and install DigAnTel

DigAnTel is a FREE Digital / Analog VOIP Telephone system utilizing CentOS Linux (RedHat), Asterisk, FreePBX, PostFix mail server and optionally the OpenFire IM server.

DigAnTel is the glue to bind these technologies thus creating a unified telephony system.

http://www.digantel.org/

Mark

I am having this SAME issue.

DB.php (pear.db) is installed.

I’ve done everything I can find and everything says that pear.db is installed correctly.

./install_amp says it MUST be installed. Could this be a path issue?

I found DB.php in /usr/share/pear/ and added that to the export path, but the error is still occuring.

HELP!

Thanks