Re[2]: [PHP] Environment Variable contamination between vhosts - 1.3.33
| From: | Tom Rogers | Date: | Mon, 08 Aug 2005 21:26:35 +0000 |
| Subject: | Re[2]: [PHP] Environment Variable contamination between vhosts - 1.3.33 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220261@lists.php.net to get a copy of this message | ||
Hi,
Tuesday, August 9, 2005, 3:04:41 AM, you wrote:
MP> Using --
MP> #!/usr/bin/perl
MP> ##
MP> ## printenv -- demo CGI program which just prints its environment
MP> ##
MP> print "Content-type: text/plain\n\n";
MP> foreach $var (sort(keys(%ENV))) {
MP> $val = $ENV{$var};
MP> $val =~ s|\n|\\n|g;
MP> $val =~ s|"|\\"|g;
MP> print "${var}=\"${val}\"\n";
MP> }
MP> I do not see the issue. This is why the apache guys thought it was a php
MP> issue.
MP> --
MP> Marc
MP> p.s. I changed the reply-to to keep it on-list. I don't know where
MP> 'replies-lists-php@listmail.innovate.net' goes.
MP> --
MP> PHP General Mailing List (http://www.php.net/)
MP> To unsubscribe, visit: http://www.php.net/unsub.php
Do you get the same problem if you run php as a cgi?
It maybe something related to apache child processes retaining the
previous env ??
I gave up using pconnect because of something similar with it
remembering a previous unrelated db access.
--
regards,
Tom