Re: [PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-setenv.xml

2005-04-08 Thread Jakub Vrana
Matthew Li wrote:
 /phpdoc/en/reference/apache/functions apache-setenv.xml
   Function only available in Apache 2
  
Are you sure?

http://cvs.php.net/co.php/php-src/sapi/apache/php_apache.c#390

Jakub Vrana


Re: [PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-setenv.xml

2005-04-08 Thread mazzanet
That's really weird.
Why is apache-getenv only in Apache 2 and apache-setenv in 1 and 2?

Jakub Vrana wrote:
Matthew Li wrote:
   /phpdoc/en/reference/apache/functionsapache-setenv.xml
 Function only available in Apache 2
  
Are you sure?

http://cvs.php.net/co.php/php-src/sapi/apache/php_apache.c#390
Jakub Vrana



Re: [PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-setenv.xml

2005-04-08 Thread Jakub Vrana
 That's really weird.
 Why is apache-getenv only in Apache 2 and apache-setenv in 1 and 2?

I don't know. I tested it under Apache 2 and get this:

apache_setenv(X, a) affects getenv(X) but putenv(X=a) doesn't
affect apache_getenv(X)

Purpose of this is maybe the same as why apache_getenv isn't in
Apache 1 :-).

Jakub Vrána