32bit PHP on 64bit Vista.

32bit PHP on 64bit Vista.

am 01.09.2009 10:24:10 von Richard Quadling

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

RE: 32bit PHP on 64bit Vista.

am 01.09.2009 10:48:16 von Network Admin

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:rquadling@googlemail.com]=20
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.
--=20
-----
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=3DZEND002498&r=3D213474731
ZOPA : http://uk.zopa.com/member/RQuadling

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


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

Re: 32bit PHP on 64bit Vista.

am 01.09.2009 12:25:30 von Richard Quadling

2009/9/1 Jason :
> 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:rquadling@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

RE: 32bit PHP on 64bit Vista.

am 02.09.2009 19:28:40 von Ruslan Yakushev

VGhlIFBIUFJDIGlzIGEgbXVjaCBiZXR0ZXIgYXBwcm9hY2ggdGhhbiBlZGl0 aW5nIHRoZSByZWdp
c3RyeS4gV2l0aCBJSVMgeW91IGNhbiBhY3R1YWxseSBzZXQgdGhpcyBlbnZp cm9ubWVudCB2YXJp
YWJsZSBmb3IgYSBzcGVjaWZpYyBwaHAtY2dpIHByb2Nlc3MgaW5zdGVhZCBv ZiBkZWZpbmluZyBp
dCBnbG9iYWxseS4gSGVyZSBpcyBob3cgSUlTIGZhc3RjZ2kgY29uZmlndXJh dGlvbiB3aWxsIGxv
b2sgbGlrZToNCg0KPGZhc3RDZ2k+DQogICAgPGFwcGxpY2F0aW9uIGZ1bGxQ YXRoPSJDOlxQSFBc
cGhwLWNnaS5leGUiPg0KICAgICAgICA8ZW52aXJvbm1lbnRWYXJpYWJsZXM+ DQogICAgICAgICAg
ICA8ZW52aXJvbm1lbnRWYXJpYWJsZSBuYW1lPSJQSFBSQyIgdmFsdWU9IkM6 XFBhdGhcVG9cWW91
cklOSUZpbGVcIiAvPg0KICAgICAgICA8L2Vudmlyb25tZW50VmFyaWFibGVz Pg0KICAgIDwvYXBw
bGljYXRpb24+DQo8L2Zhc3RDZ2k+DQoNCllvdSBjYW4gZmluZCBtb3JlIGlu Zm9ybWF0aW9uIGhl
cmU6DQoNCmh0dHA6Ly9sZWFybi5paXMubmV0L3BhZ2UuYXNweC8yNDYvdXNp bmctZmFzdGNnaS10
by1ob3N0LXBocC1hcHBsaWNhdGlvbnMtb24taWlzLTcwLyNQZXItc2l0ZV9Q SFBfY29uZmlndXJh
dGlvbg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogUmlj aGFyZCBRdWFkbGlu
ZyBbbWFpbHRvOnJxdWFkbGluZ0Bnb29nbGVt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NvbS96Y2UucGhwP2M9WkVORDAwMjQ5OCZyPTIx MzQ3NDczMQ0KPiBa
T1BBIDogaHR0cDovL3VrLnpvcGEuY29tL21lbWJlci9SUXVhZGxpbmcNCj4N Cj4gLS0NCj4gUEhQ
IFdpbmRvd3MgTWFpbGluZyBMaXN0IChodHRwOi8vd3d3LnBocC5uZXQvKQ0K PiBUbyB1bnN1YnNj
cmliZSwgdmlzaXQ6IGh0dHA6Ly93d3cucGhwLm5ldC91bnN1Yi5waHANCj4N Cj4NCg0KVGhhbmsg
eW91IGZvciB0aGF0IEphc29uLiBJJ3ZlIHBhc3NlZCB5b3VyIGNvbW1lbnRz IChzYW5zIGVtYWls
KSBhbG9uZy4NCg0KVGhhbmsgeW91LA0KDQpSaWNoYXJkLg0KDQotLSANCi0t LS0tDQpSaWNoYXJk
IFF1YWRsaW5nDQoiU3RhbmRpbmcgb24gdGhlIHNob3VsZGVycyBvZiBzb21l IHZlcnkgY2xldmVy
IGdpYW50cyEiDQpFRSA6IGh0dHA6Ly93d3cuZXhwZXJ0cy1leGNoYW5nZS5j b20vTV8yNDg4MTQu
aHRtbA0KWmVuZCBDZXJ0aWZpZWQgRW5naW5lZXIgOiBodHRwOi8vemVuZC5j b20vemNlLnBocD9j
PVpFTkQwMDI0OTgmcj0yMTM0NzQ3MzENClpPUEEgOiBodHRwOi8vdWsuem9w YS5jb20vbWVtYmVy
L1JRdWFkbGluZw0KDQotLSANClBIUCBXaW5kb3dzIE1haWxpbmcgTGlzdCAo aHR0cDovL3d3dy5w
aHAubmV0LykNClRvIHVuc3Vic2NyaWJlLCB2aXNpdDogaHR0cDovL3d3dy5w aHAubmV0L3Vuc3Vi
LnBocA0KDQoNCg==

Re: 32bit PHP on 64bit Vista.

am 03.09.2009 10:18:28 von Richard Quadling

2009/9/2 Ruslan Yakushev :
> The PHPRC is a much better approach than editing the registry. With IIS y=
ou can actually set this environment variable for a specific php-cgi proces=
s instead of defining it globally. Here is how IIS fastcgi configuration wi=
ll look like:
>
>
>    
>        
>             RC" value=3D"C:\Path\To\YourINIFile\" />
>        

>    

>

>
> 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:rquadling@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 :
>> Hi,
>>
>> I use PHP 5.2 on Vista x64.
>>
>> Rather than use the registry we use the PHPRC environment variable to de=
termine the ini file location. This works the same on all editions of Windo=
ws - 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 app=
s 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:rquadling@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=3DZEND002498&r=3D213=
474731
>> 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=3DZEND002498&r=3D2134=
74731
> 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?

--=20
-----
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=3DZEND002498&r=3D213474=
731
ZOPA : http://uk.zopa.com/member/RQuadling

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