From: brunni at netestate dot de Operating system: Linux PHP version: 4.3.1 PHP Bug Type: CGI related Bug description: CGI-Version of PHP has 65 Byte limit on path length
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 bug report at http://bugs.php.net/?id=22583&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22583&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22583&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22583&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22583&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22583&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22583&r=support Expected behavior: http://bugs.php.net/fix.php?id=22583&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22583&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22583&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22583&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22583&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22583&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22583&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22583&r=gnused