|
Posted by Jerry Stuckle on 07/12/06 00:56
~john wrote:
> Not to be prude but all these "work-arounds" go against what the
> included instructions in the official PHP download say to do. It
> explicitely says "leave the php.ini file in the c:\php folder"... Did
> the PHP team just make a mistake in the installation instructions or is
> this a bug with the current release of PHP 5.1.4? It just seems a
> little aggravating...
>
> ~john
>
>
> Andy Hassall wrote:
>
>>On 11 Jul 2006 15:26:50 -0700, "~john" <SonVoltMMA@gmail.com> wrote:
>>
>>
>>>>Peter van Schie wrote:
>>>>For other options see: http://nl3.php.net/manual/en/configuration.php
>>>
>>>>From the link...
>>>
>>>"Please note that the SetEnv PHPRC "directory/to/phpini/" only works
>>>when using PHP as CGI"
>>>
>>>I'm not using the CGI
>>
>> That user contributed note could be much better worded. It's saying that
>>SetEnv in httpd.conf won't have any effect on PHP as an Apache module, because
>>SetEnv in httpd.conf only affects subprocesses spawned by Apache - i.e. CGI.
>>
>> PHPRC works fine for PHP as Apache module when you set it as an environment
>>variable for the Apache process itself, i.e. you set it before Apache starts
>>up.
>>
>>--
>>Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
>>http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
>
>
No, it's unclear documentation at all. All versions of PHP I've used
have been that way.
Personally I leave it in the C:\Windows folder, along with other
configuration files. But if you want to leave it in C:\php, you can
either set the environment variable or edit the registry.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|