I’m going through the tutorial to install FreePBX from this link:
http://www.freepbx.org/support/documentation/installation/install-process-for-centos-5-1
And I got to this point:
yum install php-pear-DB
yum install php-mysql
But when I try to get and install those two “things” (programs? dependencies…?), I get this error:
[root@sip ~]# yum install php-pear-DB
Loading “fastestmirror” plugin
Loading mirror speeds from cached hostfile
- base: ftp.isu.edu.tw
- updates: ftp.isu.edu.tw
- addons: ftp.hostrino.com
- extras: ftp.hostrino.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
No package php-pear-DB available.
Nothing to do
It’s the same “error” for both of them, yum can’t find the respective files to download apparently. I tried a yum clean all already, and then yum update, but nothing done.
I imagine that, because of the lack of those two downloads, when I try to move on to the next step, this one:
./install_amp --username=asteriskuser --password=SOMEPASSWORD
I get the following error:
[root@sip freepbx-2.5.0]# ./install_amp --username=asteriskuser --password=SOMEPASSWORD
-bash: ./install_amp: /usr/bin/php: bad interpreter: No such file or directory
Any ideas of how to solve this? I’m running CentOS 5.2 Final.
Thank you!