php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46187 pathinfo null
Submitted: 2008-09-26 21:48 UTC Modified: 2008-09-27 09:12 UTC
From: ne1on at idt dot com Assigned:
Status: Not a bug Package: Variables related
PHP Version: 5.2.6 OS: Centos 5.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ne1on at idt dot com
New email:
PHP Version: OS:

 

 [2008-09-26 21:48 UTC] ne1on at idt dot com
Description:
------------
this is a repost of bug: http://bugs.php.net/bug.php?id=38476

i'm using 5.2.6 with lightty and have done all the suggested setting and _SERVER["PATH_INFO"] is still NULL

compile:

./configure --prefix=/usr/local/php --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect --with-zlib --with-config-file-path=/etc --with-mysql=/usr/local/mysql

php.ini:

cgi.fix_pathinfo = 1

i search and search for hours and path_info is still has "no value" in phpinfo()


Reproduce code:
---------------
echo $SERVER['PATH_INFO'];
--> null


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-26 21:51 UTC] ne1on at idt dot com
Description:
------------
this is a repost of bug: http://bugs.php.net/bug.php?id=38476

i'm using 5.2.6 with lightty 1.4.19 and have done all the suggested setting and
_SERVER["PATH_INFO"] is still NULL

compile:

./configure --prefix=/usr/local/php --enable-fastcgi
--enable-discard-path --enable-force-cgi-redirect --with-zlib
--with-config-file-path=/etc --with-mysql=/usr/local/mysql

php.ini:

cgi.fix_pathinfo = 1

i search and search for hours and path_info is still has "no value" in
phpinfo()

Reproduce code:
---------------
echo $_SERVER['PATH_INFO'];
--> null
 [2008-09-27 09:12 UTC] tularis@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

This is a server-issue. Such things are not set by PHP itself, but rather retrieved from Apache/Lightppd/lightty/etc. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 15:01:30 2024 UTC