From: KTalleur at abics dot de Operating system: SuSE Linux PHP version: 4.3.1 PHP Bug Type: CGI related Bug description: Environment Variables not resolved
I am using PHP 4.3.1 as a CGI with Apache 1.3.27. Using phpinfo(), i found out that the variables SCRIPT_NAME PATH_INFO are not shown in the environment section. Therefore, PHP_SELF is shown empty in the PHP Variables section. With PHP 4.2.2 (same Apache Config, just the php binary changed), everything is fine - the two environment variables are shown, and the php_self variable is set. So this is a feature of the current version! I compiled PHP with --enable-track-vars,--enable-force-cgi-redirect, --with-gd=/usr. Any suggestions? -- Edit bug report at http://bugs.php.net/?id=22534&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22534&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22534&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22534&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22534&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22534&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22534&r=support Expected behavior: http://bugs.php.net/fix.php?id=22534&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22534&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22534&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22534&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22534&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22534&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22534&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22534&r=gnused
