[FATAL] PEAR must be installed (requires DB.php). Include path:?

Hi
i’m installing asterisk on 1 dedicated server but when i launch this command:
./install_amp

i receive the error message:
[FATAL] PEAR must be installed (requires DB.php). Include path: .:

I tryed with yum install php-pear-DB but nothing

How i can install this pear?
I use centos server…
thank you

./install_amp is an installation script , to install FreePBX 12. To install pear, you need to run the following two commands :

  1. pear channel-update pear.php.net
  2. pear install db-1.7.14

Note future FreePBX’s issues need to be addressed through http://community.freepbx.org/

hi
thank you for your reply.
I thinked was an issue from asterisk not from freepbx.

I tryed with this 2 commands but i receive this message:

[root@admin ~]# pear channel-update pear.php.net
Updating channel "pear.php.net"
Channel “pear.php.net” is up to date
[root@admin ~]# pear install db-1.7.14
pear/db is already installed and is the same as the released version 1.7.14
install failed

Yesterday before open this post i tryed like you write me…
If is just installed, why it give me this error?

is not an error it just tell you is up to date and also that pear install db-1.7.14 is installed, so you can continue with your FreePBX installation.

There is no PHP Pear code in standard Asterisk.

i don’t undestand, how i can continue?
Because when i launch command:
./install_amp

i receive the error message:
[FATAL] PEAR must be installed (requires DB.php). Include path:

So i don’t undestand what i have to do…

Contact the suppliers of that script. Given that this has been positively identified as a FreePBX script, that means you need to use http://community.freepbx.org/

Of course, if you don’t want to install FreePBX, simply don’t run it.

You could also try a general PHP Pear resource, e.g starting from https://pear.php.net/support/