PHP 4.0 Bug #6093: Fatal error: Unable to open D:\Jana\html in Unknown on line 0
| From: | T dot Hauck at t-online dot de | Date: | Fri, 11 Aug 2000 03:09:01 +0000 |
| Subject: | PHP 4.0 Bug #6093: Fatal error: Unable to open D:\Jana\html in Unknown on line 0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28438@lists.php.net to get a copy of this message | ||
From: T.Hauck@t-online.de
Operating system: Win NT Sp6
PHP version: 4.0.1pl2
PHP Bug Type: Installation problem
Bug description: Fatal error: Unable to open D:\Jana\html in Unknown on line 0
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