RE: [PHP-WIN] SetEnv problem
| From: | Ed Lazor | Date: | Mon, 27 Sep 2004 18:52:27 +0000 |
| Subject: | RE: [PHP-WIN] SetEnv problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24651@lists.php.net to get a copy of this message | ||
Use the PHPIniDir directive in httpd.conf to specify different locations for
the php.ini file.
PHPIniDir "C:/windows"
> -----Original Message-----
> There is a documentation bug
> http://bugs.php.net/bug.php?id=29694 about
> SetEnv setting in httpd.conf
>
> Rasmus says that "PHP checks the real environment, not the Apache
> environment for PHPRC."
>
> In this sutuation i've problem. The problem is how to run 2+ versions of
> apache server (2+ different httpd.conf) with each own php.ini file?
>
> Before this bug, there was a theoretical solution of running 2+ versions
> of apache setting different SetEnv variable for each copy of php.ini file.
> But now i can only provide 1 path to file. so? no way to run 2 different
> php versions at one time?