Re: #29694 [Opn->Csd]: SetEnv PHPRC in httpd.conf has no effect
| From: | Gabor Hojtsy | Date: | Fri, 01 Oct 2004 07:06:28 +0000 |
| Subject: | Re: #29694 [Opn->Csd]: SetEnv PHPRC in httpd.conf has no effect | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969364372@lists.php.net to get a copy of this message | ||
> >> Result of a test under Windows XP:
> >> Apache 2.0.50 - PHP 5: SetEnv PHPRC works
> >> Apache 1.3.27 - PHP 5: SetEnv PHPRC works
> >> Apache 1.3.27 - PHP 4: SetEnv PHPRC doesn't work
> >> Apache 2.0.50 - PHP 4: SetEnv PHPRC doesn't work
>
> Aidan Lister wrote:
> > I'm not sure what you did vrana, but I think if it doesn't work in all
> > cases it's best to pretend it doesn't exist!
>
> I followed installation instructions with different versions of Apache
> and PHP. You are right it's better to document a way which works in all
> cases. It's sad that SetEnv PHPRC doesn't work as it can be set much
> simpler than environment variable under Windows.
But setting one or two variables does not matter. They already need to set
one variable anyway...
Goba