Bug #11703 Updated: Failed opening prepend.php3

From: Date: Thu, 12 Jul 2001 18:38:25 +0000
Subject: Bug #11703 Updated: Failed opening prepend.php3
References: 1  Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-59859@lists.php.net to get a copy of this message
ID: 11703 Updated by: derick Reported By: gmills@library.berkeley.edu Old Status: Status: Open Old Bug Type: Scripting Engine problem Bug Type: Documentation problem Operating System: Solaris 8 PHP Version: 4.0.6 New Comment: Making this a documentation problem. Derick Previous Comments: ------------------------------------------------------------------------ [2001-07-12 14:35:20] gmills@library.berkeley.edu Turns out that php scripts to be opened must exist under the httpd document root, and that the include_path directive is the path under the document root as well. Would have helped if this was made a little clearer in the installation instructions! Thanks for all the help; Garey Mills ------------------------------------------------------------------------ [2001-07-12 13:41:04] gmills@library.berkeley.edu phpinfo can be run if there is no prepend file defined. You can see the info produced by phpinfo at http://samba.berkeley.edu/test.php ------------------------------------------------------------------------ [2001-06-30 03:06:22] gmills@library.berkeley.edu Here is the prepend.php3 file. It comes from the phplib distributed with HORDE <?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. */ ?> ------------------------------------------------------------------------ [2001-06-29 23:51:51] sniper@php.net I don't see it here. You have to attach it to this bug report.. ------------------------------------------------------------------------ [2001-06-29 18:41:42] gmills@library.berkeley.edu Sniper - I sent my prepend.php3 file. Did you get it? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=11703 Edit this bug report at http://bugs.php.net/?id=11703&edit=1

« previous php.dev (#59859) next »