#31660 [Opn->Bgs]: "SetEnv PHPRC " in apache 1.3.33 has not effect
| From: | sniper@php.net | Date: | Sun, 23 Jan 2005 02:18:22 +0000 |
| Subject: | #31660 [Opn->Bgs]: "SetEnv PHPRC " in apache 1.3.33 has not effect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72683@lists.php.net to get a copy of this message | ||
ID: 31660
Updated by: sniper@php.net
Reported By: paulo dot galvao at tutopia dot com dot br
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: Win Xp Pro
PHP Version: 4.3.10
New Comment:
Apache bug. And it's an _environment_ variable. Set it for the
environment you run apache from. (I don't remember how you do that in
windows, use google)
Previous Comments:
------------------------------------------------------------------------
[2005-01-23 03:06:56] paulo dot galvao at tutopia dot com dot br
Description:
------------
My configuration:
Win Xp Pro - Portuguese - Brazil
Apache 1.3.33 and 2.0.52 installed
Php 4.3.10 and 5.0.3
All installation are following the instructions from the manual
downloaded from http://www.php.net/docs.php and generated:
Thu Apr 15
13:13:36 2004.
With apache 2.0.52, all configuration is working for php 4.3.10 and
5.0.3.
But in apache 1.3.33 isn´t.When i set "SetEnv PHPRC C:/Apache/php4" in
httpd.conf of apache 1.3.33 to specify the dir where the php.ini is
located, and start apache, the php is getting the default configuration
and not the configuration specified in C:/Apache/php4/php.ini.
I search for this problem and in
http://www.bazzinet.info/WebserverA.html i
see that SetEnv PHPRC could
not work in some cases and the same problem ocurried with others
developers in http://bugs.php.net/bug.php?id=29694.
Wel...a temporary solution that i found is put the file php.ini in
apache dir, then php works with the configuration that i specified.
My doubts:
Is it a bug?
Why this occurrence isn´t related in documentation?
Is it a problem with php or apache 1.3.33?
Is correct, say that the "SetEnv PHPRC " will never work?
Exist other way to specify the dir where php.ini is?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31660&edit=1