|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-06-26 13:06 UTC] gmills at library dot berkeley dot 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? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 20:00:02 2025 UTC |
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. */ ?>