You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Anton Fedorov <an...@florin.ru> on 2000/06/07 19:37:09 UTC

mod_env/6157: SetEnv doesn't pass environment to apache modules like php

>Number:         6157
>Category:       mod_env
>Synopsis:       SetEnv doesn't pass environment to apache modules like php
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jun 07 10:40:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     anton@florin.ru
>Release:        1.3.12
>Organization:
apache
>Environment:
Linux ace.florin.ru 2.2.13 #12 Thu Feb 10 17:25:26 MSK 2000 i686 unknown
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Server Version: Apache/1.3.12 (Unix) PHP/4.0.0
>Description:
I've got one question for you.

When I use SetEnv directive in Virtual host section of
httpd.conf all environmet correctly passes to all CGI,
but invisible from .php scripts.

I've built php as apache module.

What's wrong?

Server Version: Apache/1.3.12 (Unix) PHP/4.0.0 mod_ssl/2.6.4

P.S.
  I'm sorry for my bad English.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]