Problems running test.php3

Chrys chrys@cd.no-ip.com
Fri, 12 Jan 2001 23:54:40 -0500


---------------------- multipart/alternative attachment
Hi all,
Would anyone know why I get an error when I run the test.php3?
I always get this error msg: Fatal error: Failed opening required
'db_sybase.inc' (include_path=''/usr/local/apache/php:.'') in
/usr/local/apache/php/prepend.php3 on line 19

First I must say I have no clue if 'db_sybase.inc' was the right thing to
put since I did not find a ‘db_ldap.inc’ and second I did check if the file
'db_sybase.inc' is  in  /usr/local/apache/php , and it’ there.

I checked the /etc/php.ini and it as:
include_path='/usr/local/apache/php:.'

Here is a copy of my /usr/local/apache/php/prepend.php3
<?php
/*
 * Session Management for PHP3
 *
 * Copyright (c) 1998,1999 SH Online Dienst GmbH
 *                    Boris Erdmann, Kristian Koehntopp
 *
 * $Id: prepend.php3,v 1.1.2.4 2000/09/08 20:55:27 bjn Exp $
 *
 */

if (empty($_PHPLIB) || !is_array($_PHPLIB)) {
# Aren't we nice? We are prepending this everywhere
# we require or include something so you can fake
# include_path  when hosted at provider that sucks.
  $_PHPLIB["libdir"] = "";
}

require($_PHPLIB["libdir"] . "db_sybase.inc");  /* Change this to match your
database. */
require($_PHPLIB["libdir"] . "ct_ldap.inc");    /* Change this to match your
data storage container */
require($_PHPLIB["libdir"] . "session.inc");   /* Required for everything
below.      */

/* Additional require statements go below this line */
/* Additional require statements go before this line */

require($_PHPLIB["libdir"] . "local.inc");     /* Required, contains your
local configuration. */
require($_PHPLIB["libdir"] . "page.inc");      /* Required, contains the
page management functions. */

?>

I’m running RedHat 7.0
PHP4
I updated all the mods for php

So I can’t see what’s wrong… Feel free to give me suggestions!


Thanks in advance.


Chrys
chrys@cd.no-ip.com

Never argue with idiots, They'll drag you down to their level and then beat
you up with their experience...




---------------------- multipart/alternative attachment--