> 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_gete
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_a
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