[php-maint] Bug#348897: php5-cgi doesn't work more with suExec

Igor Genibel igenibel at debian.org
Thu Jan 19 17:13:48 UTC 2006


Package: php5-cgi
Version: 5.1.1-1
Severity: important

Hi,

I upgraded php5-cgi on my server and this does not work anymore

We are using suExec via:
    # suexec config
    AddHandler cgi-script .php .php3 .php4 .php5

And we receive this message in error_log:
<p>This PHP CGI binary was compiled with force-cgi-redirect enabled.
This
means that a page will only be served up if the REDIRECT_STATUS CGI
variable is
set, e.g. via an Apache Action directive.</p>
<p>For more information as to <i>why</i> this behaviour exists, see the
<a href="http://php.net/security.cgi-bin">manual page for CGI
security</a>.</p>
<p>For more information about changing this behaviour or re-enabling
this webserver,
consult the installation file that came with this distribution, or visit
<a href="http://php.net/install.windows">the manual page</a>.</p>
[Thu Jan 19 17:24:48 2006] [error] [client 10.0.1.1] Premature end of
script headers: /home/igorb/www/test.php5


I tried to use different config directive such as Action but it does not
fix the problem.

Note that I'm upgrading from 5.0.5-3 to this current version.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages php5-cgi depends on:
ii  libbz2-1.0    1.0.3-2                    high-quality block-sorting file co
ii  libc6         2.3.5-12                   GNU C Library: Shared libraries an
ii  libcomerr2    1.38+1.39-WIP-2005.12.31-1 common error description library
ii  libdb4.3      4.3.29-3                   Berkeley v4.3 Database Libraries [
ii  libgdbm3      1.8.3-2                    GNU dbm database routines (runtime
ii  libkrb53      1.4.3-5                    MIT Kerberos runtime libraries
ii  libmagic1     4.15-2                     File type determination library us
ii  libpcre3      6.4-1.1                    Perl 5 Compatible Regular Expressi
ii  libssl0.9.8   0.9.8a-5                   SSL shared libraries
ii  libxml2       2.6.23.dfsg.1-0.1          GNOME XML library
ii  mime-support  3.35-1                     MIME files 'mime.types' & 'mailcap
ii  php5-common   5.1.1-1                    Common files for packages built fr
ii  zlib1g        1:1.2.3-9                  compression library - runtime

php5-cgi recommends no packages.

-- no debconf information




More information about the pkg-php-maint mailing list