#21301 [Com]: PHP_SELF is empty
| From: | tapken at engter dot de | Date: | Tue, 31 Dec 2002 02:23:58 +0000 |
| Subject: | #21301 [Com]: PHP_SELF is empty | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28811@lists.php.net to get a copy of this message | ||
ID: 21301
Comment by: tapken@engter.de
Reported By: tapken@engter.de
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux (SuSE)
PHP Version: 4.3.0
New Comment:
I'm not very sure if it is the same bug. In #21261 PATH_INFO is empty
but as you can see on http://www.engter.de/shenv.php
this is not the
case in my installation.
Previous Comments:
------------------------------------------------------------------------
[2002-12-30 19:53:40] pollita@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PHP.
Please feel free to add your comments to Bug #21261.
In fact, please describe your operating environment as thoroughly as
possible so that this bug can be reliably reproduced.
A dump of "/usr/local/apache/bin/httpd -l" and a list of all
"LoadModule" lines would also be helpful.
------------------------------------------------------------------------
[2002-12-30 19:48:43] tapken@engter.de
Did anyone change the way php get it's PHP_SELF-Variable?
On my server php-files are wrapped through a slightly patched version
of
cgiwrap. I changed a few lines so that PHP_SELF is not broken and
cgiwrap is not visible to the user. For details have a look at:
http://www.engter.de/phpinfo.php
http://roland.engter.de/stuff/cgiwrap-PATH_INFO.patch
http://roland.engter.de/stuff/cgiwrap-SCRIPT_NAME.patch
With PHP 4.2.3 everything worked fine. But after updating to PHP 4.3.0
(with --disable-cli) PHP_SELF was empty. At first i thought that my
patch on cgiwrap was the reason for this, but finally i installed PHP
4.2.3 again and everything was fine.
Any ideas?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21301&edit=1