php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6093 Fatal error: Unable to open D:\Jana\html in Unknown on line 0
Submitted: 2000-08-10 23:09 UTC Modified: 2000-12-07 11:18 UTC
From: T dot Hauck at t-online dot de Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.1pl2 OS: Win NT Sp6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: T dot Hauck at t-online dot de
New email:
PHP Version: OS:

 

 [2000-08-10 23:09 UTC] T dot Hauck at t-online dot de
Hallo,

i'am writting a Http-Server for Windows. I prev. used PHP 3.0.16 and it worked fine. No i installed a PHP 4.0.1pl2 and i will get on the same scripts this message:
Fatal error: Unable to open D:\Jana\html in Unknown on line 0
where D:\Jana\html ist the root directory of the scripts.

I tracked it so far down, that if i do not set a few specific eniroment varibals, it works. I include a list with all the enviroment variables the http-server sends.

If i leave the ones marked with a * away it works !

COMPUTERNAME=THOMAS
COMSPEC=C:\WINNT\system32\cmd.exe
DOCUMENT_ROOT=D:\Jana\html
*GATEWAY_INTERFACE=CGI/1.1
HOME=D:\Jana\html
HOMEDRIVE=C:
HOMEPATH=\
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
HTTP_ACCEPT_ENCODING=
HTTP_ACCEPT_LANGUAGE=de
HTTP_COOKIE=last_loginid=Thomas
HTTP_HOST=thomas
HTTP_REFERER=
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
INCLUDE=D:\Programme\MS-Studio\VC98\atl\include;D:\Programme\MS-Studio\VC98\mfc\include;D:\Programme\MS-Studio\VC98\include;d:\Centura\CAPI
LIB=D:\Programme\MS-Studio\VC98\mfc\lib;D:\Programme\MS-Studio\VC98\lib;d:\Centura\CAPI
LOGONSERVER=\\THOMAS
MSDEVDIR=D:\Programme\MS-Studio\Common\MSDev98
NUMBER_OF_PROCESSORS=1
OS2LIBPATH=C:\WINNT\system32\os2\dll;
OS=Windows_NT
PATH=C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;D:\Centura;D:\Programme\Symantec\pcAnywhere;C:\Php\bin;D:\Programme\MS-Studio\Common\Tools\WinNT;D:\Programme\MS-Studio\Common\MSDev98\Bin;D:\Programme\MS-Studio\Common\Tools;D:\Programme\MS-Studio\VC98\bin
PATH_INFO=
PATH_TRANSLATED=D:\Jana\html
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 7 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0703
QUERY_STRING=
REMOTE_ADDR=190.111.111.77
REMOTE_HOST=190.111.111.77
REMOTE_PORT=2629
*REQUEST_METHOD=GET
REQUEST_URI=/env.pl
SCRIPT_NAME=/env.pl
SERVER_ADDR=190.111.111.77
SERVER_ADMIN=T.Hauck@t-online.de
*SERVER_NAME=thomas
SERVER_PORT=80
SERVER_PROTOCOL=HTTP/1.1
*SERVER_SOFTWARE=Jana-Server/2.0
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINNT
TEMP=C:\TEMP
TMP=C:\TEMP
USERDOMAIN=THOMAS
USERNAME=Thomas
USERPROFILE=C:\WINNT\Profiles\Thomas
WINDIR=C:\WINNT
(generatet with a perl-script, because php does't work)

There must be some reason for that message with the enviroment variables.
By the way the php.ini file i left unchanged and copyed it to the Windowsdirectory.

It would be greate to here from you soon. What i'am doing wrong.

Thanks Thomas Hauck, Germany
Http://www.jana-server.ocm.de/
Mail:T.Hauck@t-online.de


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-01 09:05 UTC] sniper@php.net
Have you tried using PHP4.0.3pl1 ?
Does the problem still exist?

--Jani

 [2000-12-07 11:18 UTC] sniper@php.net
No feedback.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 23:01:30 2024 UTC