I have a new install on OS X. Apache2, php5. When I hit the homepage, I get Error No. [1f4], and my log shows:
[Fri Nov 03 10:51:14 2006] [error] [client 75.197.55.86] PHP Notice: DB Error: extension not found in /Library/WebServer/roundcube/program/include/bugs.inc on line 80
What else do I need to install?
I got past that issue. It was unable to create a log file. Now I get:
[03-Nov-2006 11:02:57 -0500] DB Error: DB Error: extension not found in /Library/WebServer/roundcube/program/include/rcube_db.inc on line 105
Same problems here.
Thanks for the heads on one problem number 1. I went through and fixed all the perms [using ACL]
Anyone find the answer for number 2 ?
Debian Sarge here.
The log is implying that the DB extension for PHP (MySQL, Postgres, whatever DB you want) is not loaded into PHP via extensions.ini or compiled in. Check the output of phpinfo() to ensure you have a database extension available.
Jpingle
Please explain how to use phpinfo().
You can make a new file, call it "test.php" and inside just put this:
<? phpinfo(); ?>
And then upload it to your site and view it via a web browser.
That will show you a nicely formatted table with more information than you ever cared to know about your PHP installation :)
On the page it should list modules that are loaded or options compiled in. If you do a search on the page for "mysql" and you find nothing, then you know the MySQL module is missing.
Right on, I was trying to figure out how to make that work. :)
Thanks
Be sure to remove the test.php file when you are done. There is a lot of information in phpinfo() and if someone stumbles upon that page, it could be used to craft an attack against your server. The page itself is not vulnerable to anything, but it does provide information that could narrow down an attack and potentially make it more likely to succeed.
Thanks