Hi there,
I’m just trying to install freepbx and I can’t get around the following problem:
Debain 4.0, Plesk, php-pear = installed
XXX:/usr/src/freepbx-2.3.1# ./install_amp
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20060613+lfs/sybase_ct.so’ - /usr/lib/php5/20060613+lfs/sybase_ct.so: cannot open shared object file: No such file or directory in Unknown on line 0
Checking for PEAR DB…FAILED
[FATAL] PEAR must be installed (requires DB.php). Include path: .:.:
about the sybase lib: I don’t have a "sybase_ct.so " anywhere on that system. Am I missing a package?
What does " Include path: .:.:" mean, can this be the problem?
I don’t get it: Pear is installed. DB.php is in /usr/share/psa-horde/pear/DB.php
Has someone got any hints for me? Thank you so much in advance,
southy
In case someone else happens across this question through a search it appears that there is a missing step depending upon how PEAR was originally installed (I just used the pkg available on Ubuntu). In order to fix this the PEAR DB must be installed/initialized:
The doc’s you are pointing to work if you build it from Scratch. In your situation the hosting company must have installed it in a non-standard place, or changed the defaults of where it is installed and the include path is NOT pointing to the proper location. You will need to locate where it is installed and update the include path with it’s installed location and try again.
Hi all am a newbie in this field and am trying to install asterisk[for which Freepbx is needed]…So i cudnt complete the installation.
Can anyone give explanation regarding this error…
While executing the command sudo ./install_amp the following error comes…
Connecting to database…FAILED
Try running ./install_amp --username=user --password=pass (using your own user and pass)
[FATAL] Cannot connect to database
Please do not hijack a existing thread about one thing for another. Yes you are sort of similar but it is not. You’ll get better answers if you post it as a new question instead of adding to another thread.
The error is pretty clear. Connecting to database…FAILED … [FATAL] Cannot connect to database
So either you do not have mysql installed or you have it installed, but have setup a user name and password that is not what was expected. So the program has output the line you need to run that will tell it what the user and password are for it to use MySQL.