ID: 22583 Comment by: cg at gordimer dot net Reported By: brunni at netestate dot de Status: Open Bug Type: CGI related Operating System: Linux PHP Version: 4.3.1 New Comment:
Here it works perfectly on Win2k with IIS/CGI. No problems with long paths. Christoph Previous Comments: ------------------------------------------------------------------------ [2003-03-07 03:44:05] brunni at netestate dot de If I try to call the URL http://cube.netestate.de/cccccccccccccccccccccccc/test.php php logs this to syslog: Mar 7 10:38:22 roja php: PHP Fatal error: Unknown(): Unable to open /home/www/cube.netestate.de/data/ccccccccccccccccccccccc\221^A in Unknown on line 0 If I mv cccccccccccccccccccccccc to ccccccccccccccccccccccc and call the URL with one 'c' less, it works. If i set /cbi-bin/printenv.cgi as interpreter instead of /cgi-bin/php and call the URL causing problems, i get this: QUERY_STRING = SERVER_ADDR = 195.30.92.56 HTTP_ACCEPT_LANGUAGE = en-us, en;q=0.50 SERVER_PROTOCOL = HTTP/1.1 HTTP_CONNECTION = keep-alive PATH_TRANSLATED = /home/www/cube.netestate.de/data/cccccccccccccccccccccccc/test.php REMOTE_PORT = 1129 HTTP_ACCEPT = text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 HTTP_USER_AGENT = Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1) Gecko/20020826 GATEWAY_INTERFACE = CGI/1.1 HTTP_HOST = cube.netestate.de PATH_INFO = /cccccccccccccccccccccccc/test.php SERVER_SOFTWARE = Apache/1.3.27 Ben-SSL/1.48 (Unix) mod_jk SERVER_ADMIN = [EMAIL PROTECTED] REMOTE_ADDR = 195.30.92.1 SCRIPT_NAME = /cgi-bin/printenv.cgi SERVER_NAME = cube.netestate.de HTTP_ACCEPT_ENCODING = gzip, deflate, compress;q=0.9 DOCUMENT_ROOT = /home/www/cube.netestate.de/data REQUEST_URI = /cccccccccccccccccccccccc/test.php HTTP_ACCEPT_CHARSET = ISO-8859-1, utf-8;q=0.66, *;q=0.66 REDIRECT_STATUS = 200 REQUEST_METHOD = GET REDIRECT_URL = /cccccccccccccccccccccccc/test.php SCRIPT_FILENAME = /home/www/cube.netestate.de/cgi-bin/printenv.cgi HTTP_KEEP_ALIVE = 300 PATH = /usr/local/bin:/usr/bin:/bin SERVER_PORT = 80 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22583&edit=1