#31660 [NEW]: "SetEnv PHPRC " in apache 1.3.33 has not effect
| From: | paulo dot galvao at tutopia dot com dot br | Date: | Sun, 23 Jan 2005 02:06:57 +0000 |
| Subject: | #31660 [NEW]: "SetEnv PHPRC " in apache 1.3.33 has not effect | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-72682@lists.php.net to get a copy of this message | ||
From: paulo dot galvao at tutopia dot com dot br
Operating system: Win Xp Pro
PHP version: 4.3.10
PHP Bug Type: Apache related
Bug description: "SetEnv PHPRC " in apache 1.3.33 has not effect
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 bug report at http://bugs.php.net/?id=31660&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31660&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31660&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31660&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31660&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31660&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31660&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31660&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31660&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31660&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31660&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31660&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31660&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31660&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31660&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31660&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31660&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31660&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31660&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31660&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31660&r=mysqlcfg