Re: Bug #11703 Updated: Failed opening prepend.php3

From: Date: Wed, 27 Jun 2001 15:13:26 +0000
Subject: Re: Bug #11703 Updated: Failed opening prepend.php3
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-58225@lists.php.net to get a copy of this message
Hi - Here is 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_mysql.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. */ /* 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. */ ?> ================================================================================================ On 27 Jun 2001, Bug Database wrote: > ID: 11703 > Updated by: sniper > Reported By: gmills@library.berkeley.edu > Old-Status: Open > Status: Feedback > Bug Type: Scripting Engine problem > Operating system: > PHP Version: 4.0.6 > Assigned To: > Comments: > > What is in the file prepend.php3 ?? > > > Previous Comments: > --------------------------------------------------------------------------- > > [2001-06-26 14:54:23] gmills@library.berkeley.edu > The comment should read "I commented out the auto-prepend-file directive in php.ini and > got a 'test.php' file to run phpinfo." > > --------------------------------------------------------------------------- > > [2001-06-26 14:52:25] gmills@library.berkeley.edu > I commented out the auto-prepend-file directive and a 'test.php' file to run phpinfo. > > --------------------------------------------------------------------------- > > [2001-06-26 13:06:13] gmills@library.berkeley.edu > PHP compiled with imap support. I get this: > > Warning: Failed opening ''/opt/apache/php/prepend.php3'' for inclusion > (include_path=''.:/opt/apache/php'') in Unknown on line 0 > > opening any '.php' file with the browser. prepend.php3 has correct permissions and so > do the containing directories. It won't open anywhere I put it. I have also tried just putting > the file name in php.ini. I have also tried permuting the include path. > > PHP is compiled into Apache 1.3.20 as a static module, and httpd.conf has an AddType directive > for php. > > What am I doing wrong? > > --------------------------------------------------------------------------- > > > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at > http://bugs.php.net/?id=11703&edit=2 > >

« previous php.dev (#58225) next »