How Solving this problem?
ouldm@linux-at-business.com
ouldm@linux-at-business.com
Thu, 04 Jan 2001 23:04:32 +0100
Hello,
I'm using Cobalt Raq3, on wich the following is installed:
imap-4.5-C1
php-3.0.16-2C2
apache-1.3.6-C11
I'm using horde and imp pre-13, and use the script mentionned in docs to
create table in my PostgreSQL.
I configurated all thing until the horde test (not yet imp!), which give
me the error:
Fatal error: Failed opening required 'db_mysql.inc' in
/home/apache/phplib/prepend.php3 on line 19
There is no MySQL db, I'm using postgreSQL lying on different server.
The follwing are my files /home/apache/phplib:
prepend.php3:
<?php
if (empty($_PHPLIB) || !is_array($_PHPLIB)) {
$_PHPLIB["libdir"] = ""; <=============================== I don't know
if it must let as it?
}
require($_PHPLIB["libdir"] . "db_pgsql.inc"); /* Change this to match
your database. */
require($_PHPLIB["libdir"] . "ct_sql.inc"); /* Change this to match
your data storage container */
require($_PHPLIB["libdir"] . "session.inc"); /* Required for
everything below. */
require($_PHPLIB["libdir"] . "local.inc"); /* Required, contains
your local configuration. */
require($_PHPLIB["libdir"] . "page.inc"); /* Required, contains the
page management functions. */
?>
local.inc:
<?php
class HordeDB extends DB_Sql {
var $Host = '10.1.6.5'; <==================== This is the IP of
dabatase host
var $Database = 'horde';
var $User = 'hordemgr';
var $Password = 'hordemgr';
var $Port = '5432';
function halt($msg) {
printf("<b>Database error (HordeDB):</b> %s<br>\n", $msg);
}
}
?>
httpd.conf and php3.ini are configured as mentionned in the docs.
Can you help to fixe this problem?
Thanks