#23800 [Csd]: _SERVER["PATH_INFO"] no value

From: Date: Sun, 25 May 2003 19:12:54 +0000
Subject: #23800 [Csd]: _SERVER["PATH_INFO"] no value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40389@lists.php.net to get a copy of this message
ID: 23800 User updated by: fester at x-dot dot de Reported By: fester at x-dot dot de Status: Closed Bug Type: *General Issues Operating System: Debian Woody PHP Version: 4.3.2RC4 Assigned To: shane New Comment: Hello! Thanks for the fast answers! Using "cgi.fix_pathinfo=0" in php.ini solves the problem. Regards J.Fester Previous Comments: ------------------------------------------------------------------------ [2003-05-25 13:36:29] shane@php.net cgi.fix_pathinfo=0 is now default ------------------------------------------------------------------------ [2003-05-25 12:41:46] derick@php.net let me quote the original bugreport: "If i use a PHP 4.3.1 on the same system theses variables show correct values." regards, Derick ------------------------------------------------------------------------ [2003-05-25 12:38:19] shane@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This behaviour started with 4.3.0. See the CGI spec for details about PATH_INFO/PATH_TRANSLATED. You can set cgi.fix_pathinfo=0 to have pre-4.3.0 behaviour (thus no BC issue), or use SCRIPT_NAME/SCRIPT_FILENAME which is the correct variable you should be using (unless you *actually* are using PATH_INFO). ------------------------------------------------------------------------ [2003-05-25 12:03:33] derick@php.net Making this critical, this kind of BC breaks are not acceptable ------------------------------------------------------------------------ [2003-05-25 12:01:35] fester at x-dot dot de Hello! The Variables for PATH_INFO and PATH_TRANSLATED have no Value. If i use a PHP 4.3.1 on the same system theses variables show correct values. New are the variables ORIG_PATH_TRANSLATED and ORIG_PATH_INFO which show correct values. Are these new variables? I dont find any information about it.. PHP is configured with: ./configure' '--prefix=/usr/local/php4.3.2' '--disable-debug' '--enable-force-cgi-redirect' '--disable-ipv6' '--with-openssl' '--with-zlib' '--enable-calendar' '--with-gd=/usr/local/gd/' '--with-ttf=/usr/' '--with-freetype-dir=/usr/' '--with-mysql=/usr/' '--enable-xslt' '--with-xslt-sablot=/usr/local/sablotron/' '--with-expat-dir=/usr/local/expat/' '--enable-track-vars' Regards J.Fester ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23800&edit=1

« previous php.bugs (#40389) next »