2009/9/2 Ruslan Yakushev <rusl...@microsoft.com>:
> The PHPRC is a much better approach than editing the registry. With IIS you 
> can actually set this environment variable for a specific php-cgi process 
> instead of defining it globally. Here is how IIS fastcgi configuration will 
> look like:
>
> <fastCgi>
>    <application fullPath="C:\PHP\php-cgi.exe">
>        <environmentVariables>
>            <environmentVariable name="PHPRC" value="C:\Path\To\YourINIFile\" 
> />
>        </environmentVariables>
>    </application>
> </fastCgi>
>
> You can find more information here:
>
> http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/#Per-site_PHP_configuration
>
> -----Original Message-----
> From: Richard Quadling [mailto:rquadl...@googlemail.com]
> Sent: Tuesday, September 01, 2009 3:26 AM
> To: Jason
> Cc: php-windows
> Subject: Re: [PHP-WIN] 32bit PHP on 64bit Vista.
>
> 2009/9/1 Jason <networkad...@emarket2.com>:
>> Hi,
>>
>> I use PHP 5.2 on Vista x64.
>>
>> Rather than use the registry we use the PHPRC environment variable to 
>> determine the ini file location. This works the same on all editions of 
>> Windows - x86 and x64. Would this be a good alternative to use?
>>
>> In direct answer to your question though, the Wow node is for 32 bit apps 
>> under x64 windows - I would expect PHP to be looking there, just like any 
>> other x86 windows app.
>>
>> Don't forget to make sure IIS (if that's your webserver on Vista) is in 
>> WOW32 mode, otherwise php won't run at all.
>>
>> HTH
>> J
>>
>> -----Original Message-----
>> From: Richard Quadling [mailto:rquadl...@googlemail.com]
>> Sent: 01 September 2009 09:24
>> To: php-windows
>> Subject: [PHP-WIN] 32bit PHP on 64bit Vista.
>>
>> Hi.
>>
>> Is there anyone who here running 32bit PHP on a 64bit Vista platform
>> who could help me with a IniFilePath registry query.
>>
>> The question relates to the use of
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PHP] vs
>> [HKEY_LOCAL_MACHINE\SOFTWARE\PHP].
>>
>> I'm on 32bit XP and have no 64bit Vistas available.
>>
>> Any comments would be appreciated.
>>
>> Regards,
>>
>> Richard.
>> --
>> -----
>> Richard Quadling
>> "Standing on the shoulders of some very clever giants!"
>> EE : http://www.experts-exchange.com/M_248814.html
>> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
>> ZOPA : http://uk.zopa.com/member/RQuadling
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> Thank you for that Jason. I've passed your comments (sans email) along.
>
> Thank you,
>
> Richard.
>
> --
> -----
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

Thank you Ruslan.

The Learn.IIS.net site really seems to have a LOT of useful info
regarding PHP. How much of this can be incorporated into the PHP
Manual?

-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to