Debian Bug report logs - #609609
php5-cgi: $_SERVER["PATH_INFO"] empty when used via fcgi with lighttpd

version graph

Package: php5-cgi; Maintainer for php5-cgi is (unknown);

Reported by: Daniel Roschka <danielroschka@phoenitydawn.de>

Date: Mon, 10 Jan 2011 22:30:01 UTC

Severity: normal

Found in version php5/5.3.3-7

Fixed in versions php5/5.4.4-7, 5.4.4-14

Done: Ondřej Surý <ondrej@sury.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#609609; Package php5-cgi. (Mon, 10 Jan 2011 22:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Roschka <danielroschka@phoenitydawn.de>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 10 Jan 2011 22:30:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Daniel Roschka <danielroschka@phoenitydawn.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5-cgi: $_SERVER["PATH_INFO"] empty when used via fcgi with lighttpd
Date: Mon, 10 Jan 2011 23:16:31 +0100
Package: php5-cgi
Version: 5.3.3-7
Severity: normal


When using php5-cgi with lighttpd via fastcgi $_SERVER["PATH_INFO"] is empty, even with the suggested adjustments on lighttpd- and php-side as mentioned in http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModFastCGI#FastCGI-and-Programming-Languages.

My php.ini contains:
cgi.fix_pathinfo=1

My lighttpd.conf contains:
fastcgi.server = ( ".php" => ((                                                                                                                              
                     "bin-path" => "/usr/bin/php5-cgi",                                                                                                      
                     "socket" => "/tmp/php.socket",                                                                                                          
                     "max-procs" => 2,                                                                                                                       
                     "bin-environment" => (                                                                                                                  
                       "PHP_FCGI_CHILDREN" => "16",                                                                                                          
                       "PHP_FCGI_MAX_REQUESTS" => "10000" 
                     ),
                     "bin-copy-environment" => (
                       "PATH", "SHELL", "USER" 
                     ),
                     "broken-scriptfilename" => "enable" 
                 )))

Changing the values of cgi.fix_pathinfo or broken-scriptfilename has no effect. I was able to reproduce this problem on a squeeze and on a sid machine.

Regards,
Daniel


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-cgi depends on:
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libcomerr2              1.41.12-2        common error description library
ii  libdb4.8                4.8.30-3         Berkeley v4.8 Database Libraries [
ii  libgssapi-krb5-2        1.8.3+dfsg-4     MIT Kerberos runtime libraries - k
ii  libk5crypto3            1.8.3+dfsg-4     MIT Kerberos runtime libraries - C
ii  libkrb5-3               1.8.3+dfsg-4     MIT Kerberos runtime libraries
ii  libmagic1               5.04-5           File type determination library us
ii  libonig2                5.9.1-1          Oniguruma regular expressions libr
ii  libpcre3                8.02-1.1         Perl 5 Compatible Regular Expressi
ii  libqdbm14               1.8.77-4         QDBM Database Libraries [runtime]
ii  libssl0.9.8             0.9.8o-4         SSL shared libraries
ii  libxml2                 2.7.8.dfsg-2     GNOME XML library
ii  mime-support            3.51-1           MIME files 'mime.types' & 'mailcap
ii  php5-common             5.3.3-7          Common files for packages built fr
ii  tzdata                  2010o-1          time zone and daylight-saving time
ii  ucf                     3.0025+nmu1      Update Configuration File: preserv
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

php5-cgi recommends no packages.

Versions of packages php5-cgi suggests:
ii  php-pear                      5.3.3-7    PEAR - PHP Extension and Applicati

-- no debconf information




Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Fri, 04 Jul 2014 14:36:18 GMT) (full text, mbox, link).


Notification sent to Daniel Roschka <danielroschka@phoenitydawn.de>:
Bug acknowledged by developer. (Fri, 04 Jul 2014 14:36:18 GMT) (full text, mbox, link).


Message #10 received at 609609-done@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: 609609-done@bugs.debian.org
Subject: Closing bugs filled against php5 in oldstable
Date: Fri, 04 Jul 2014 16:33:42 +0200
Version: 5.4.4-14

On Fri, Jul 4, 2014, at 14:09, Ondřej Surý wrote:
> Version: 5.4.4-14
> 
> Hey all,
> 
> I am closing the bugs that were filled against php5 5.3 in Debian
> oldstable
> (well and earlier)...
> 
> Feel free to reopen the bug in you can reproduce it with php5 from
> current
> stable Debian release.
> 
> Cheers,
> -- 
> Ondřej Surý <ondrej@sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server


-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Marked as fixed in versions php5/5.4.4-7. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 09 Jul 2014 08:06:11 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 07 Aug 2014 07:26:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 03:39:48 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.