[BusyBox 0000004]: patch for httpd to support PHP CGI mode
bugs at busybox.net
bugs at busybox.net
Thu Sep 1 09:39:10 UTC 2005
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=4
======================================================================
Reported By: pjf
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 4
Category: Standards Compliance
Reproducibility: N/A
Severity: feature
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 01-13-2005 04:41 PST
Last Modified: 09-01-2005 02:39 PDT
======================================================================
Summary: patch for httpd to support PHP CGI mode
Description:
Hello,
I made a small patch which sets SCRIPT_FILENAME variable in httpd, which
is required for PHP scripts to run in CGI mode (#!/path/to/php as first
line) - otherwise it exits with "No input file specified" error.
======================================================================
----------------------------------------------------------------------
pgf - 07-26-05 15:04
----------------------------------------------------------------------
adding support to work around a bug in PHP probably isn't the right thing
to do.
see http://bugs.php.net/bug.php?id=28227
----------------------------------------------------------------------
pjf - 08-06-05 07:06
----------------------------------------------------------------------
Thanks for more information - it seems that the PHP team is ignoring this
issue.
So maybe a compile-time option and two #ifdefs adding this work-around
would be OK? (i.e. FIX_LAZY_PHP_GUYS? :P).
----------------------------------------------------------------------
landley - 09-01-05 02:39
----------------------------------------------------------------------
r11309
Issue History
Date Modified Username Field Change
======================================================================
01-13-05 04:41 pjf New Issue
01-13-05 04:41 pjf File Added: busybox-script-filename.patch
02-12-05 04:11 pjf Issue Monitored: pjf
03-16-05 12:26 andersen Assigned To andersen => BusyBox
07-26-05 15:04 pgf Note Added: 0000344
08-06-05 07:06 pjf Note Added: 0000388
09-01-05 02:39 landley Status assigned => closed
09-01-05 02:39 landley Note Added: 0000477
======================================================================
More information about the busybox-cvs
mailing list