Hey all. I'm tryin to get BOBS workin on my Suse 9.x server, and I continue to get this error when I :check configuration:. I installed the db4 support module within YAST and I still get the same error. Anyone have any ideas? I have exhausted google and have tried various things myself with no avail.
Here's the error. I'm running apache2, suse 9.x
Checking for dba database support FAIL
dba database support is not loaded.
You need to check your php configuration and include dba support.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Although you have indeed installed db4, it appears that DBA support is not built into the version of PHP4 that comes with SUSE, at least not 9.1 which I'm using.
Create a file info.php with 3 lines in your /srv/www/htdocs/
<?php
phpinfo();
?>
Look at the output of that file in your browser and you'll probably find that the 'Configure Command' section doesn't contain the element '--with-db4', nor is there a secton lower down telling you that dba support is enabled.
I had to uninstall the php4 rpm from my build and then recompile php from source myself (download from php.net) with the necessary options ('./configure' '--enable-safe-mode' '--enable-ftp' '--enable-magic-quotes' '--with-png' '--with-gd' '--with-mcal' '--with-ttf' '--with-ftp' '--with-db4' '--with-bz2' '--with-openssl' '--with-imap-ssl' '--with-zlib=yes' '--with-imap' '--with-mysql' '--with-gettext' '--with-xml' '--with-apxs=/usr/sbin/apxs' ) worked for me.
It takes quite a long time as you'll also need to install lots of xxxx-devel rpms first (and go round in circles as you realise one is missing then start again). Then restart apache to use the newly installed php module etc. Not for the faint-hearted - sorry!
james
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey all. I'm tryin to get BOBS workin on my Suse 9.x server, and I continue to get this error when I :check configuration:. I installed the db4 support module within YAST and I still get the same error. Anyone have any ideas? I have exhausted google and have tried various things myself with no avail.
Here's the error. I'm running apache2, suse 9.x
Checking for dba database support FAIL
dba database support is not loaded.
You need to check your php configuration and include dba support.
Although you have indeed installed db4, it appears that DBA support is not built into the version of PHP4 that comes with SUSE, at least not 9.1 which I'm using.
Create a file info.php with 3 lines in your /srv/www/htdocs/
<?php
phpinfo();
?>
Look at the output of that file in your browser and you'll probably find that the 'Configure Command' section doesn't contain the element '--with-db4', nor is there a secton lower down telling you that dba support is enabled.
I had to uninstall the php4 rpm from my build and then recompile php from source myself (download from php.net) with the necessary options ('./configure' '--enable-safe-mode' '--enable-ftp' '--enable-magic-quotes' '--with-png' '--with-gd' '--with-mcal' '--with-ttf' '--with-ftp' '--with-db4' '--with-bz2' '--with-openssl' '--with-imap-ssl' '--with-zlib=yes' '--with-imap' '--with-mysql' '--with-gettext' '--with-xml' '--with-apxs=/usr/sbin/apxs' ) worked for me.
It takes quite a long time as you'll also need to install lots of xxxx-devel rpms first (and go round in circles as you realise one is missing then start again). Then restart apache to use the newly installed php module etc. Not for the faint-hearted - sorry!
james