#22919 [Fbk->NoF]: Missing server variables
| From: | sniper@php.net | Date: | Sun, 06 Apr 2003 11:59:14 +0000 |
| Subject: | #22919 [Fbk->NoF]: Missing server variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37208@lists.php.net to get a copy of this message | ||
ID: 22919
Updated by: sniper@php.net
Reported By: marcus at names dot co dot uk
-Status: Feedback
+Status: No Feedback
Bug Type: CGI related
Operating System: Redhat Linux 7.2
PHP Version: 4.3.1
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-03-30 06:49:52] moriyoshi@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-03-27 08:32:22] marcus at names dot co dot uk
Thanks for the speedy reply - but how come it works in PHP 4.2.3? Has
PHP changed the way in which these variables are set - ie did php not
previously rely on SCRIPT_NAME being passed by the web server?
------------------------------------------------------------------------
[2003-03-27 08:21:54] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
SCRIPT_NAME variable is not being exported by the command line or Zeus
server, hence the lack of these two variables.
------------------------------------------------------------------------
[2003-03-27 03:34:30] marcus at names dot co dot uk
When building PHP 4.3.1 as a cgi binary, some of the server variables
do not get set correctlt. Most importantly, $PHP_SELF and $SCRIPT_NAME
are missing altogether.
Looking at cgi_main.c, it looks as though $PHP_SELF is inherited from
$SCRIPT_NAME for the CGI version - so perhaps this is why they are both
missing?
I am running under Zeus Web Server 4.2, but the problem is the same
when run from the command line.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22919&edit=1