include error due to php3.ini path?
| From: | Chris Hayes | Date: | Tue, 03 Oct 2000 19:43:03 +0000 |
| Subject: | include error due to php3.ini path? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18466@lists.php.net to get a copy of this message | ||
Dear list,
I (or should I blame Bill?) recently managed to lose my php3.ini on the windows 98
partition (Windows 98, Apache, PHP, MySQL).
Now when i have an include in file
http://localhost/whatever/index.php3
( require ('lib.inc.php3'); )
i get an error
Fatal error: Failed opening required 'lib.inc.php3' in
e:\program files\apache group\apache\htdocs\trials\phpmyadmin\index.php3 on line 3
(It used to work! Aye, it's phpadmin!)
I.e. it tries to find that file on the local file system. So my guess is any of these php3.ini
settings is wrong:
include_path = ".;localhost" ;".;c:\php3;e:\Program Files\Apache
Group\Apache\htdocs\trials\phpmyadmin"
; UNIX: "/path1:/path2" Windows: "\path1;\path2"
doc_root = ;"e:\Program Files\Apache Group\Apache\htdocs"
; the root of the php pages, used only if nonempty
user_dir = ; the directory under which php opens the script using /~username,
used only if nonempty
;upload_tmp_dir = ; temporary directory for HTTP uploaded files (will use system
default if not
specified)
upload_max_filesize = 2097152 ; 2 Meg default limit on file uploads
extension_dir = "c:\php3;.";
;./ ; directory in which the loadable extensions (modules) reside
I hope someone sees what I did wrong?
thanks!
Chris
--------------------------------------------------------------------
-- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands --
--------------------------------------------------------------------