Author |
|
maxelcat
Joined: 17 Feb 2010 Posts: 4
|
Posted: Mon 30 Mar '15 18:36 Post subject: not sure which php version to choose |
|
|
Hi
I have a WAMP running apache 2.4.4 and php 5.4.12
I want to update the php but am confused about which one I should download.
Should I go for VC11 x86 Thread Safe or VC11 x64 Thread Safe
What's the difference and how would I know which to install.
Thanks |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
|
Back to top |
|
maxelcat
Joined: 17 Feb 2010 Posts: 4
|
Posted: Tue 31 Mar '15 9:11 Post subject: |
|
|
thanks for the reply
Still unclear - do I want the 32 or the 64 bit versions? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 31 Mar '15 9:54 Post subject: |
|
|
You do not tell which version of Apache you are using, 32 or 64 bit. And you do not tell if you are running PHP as module or with mod_fcgid. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 31 Mar '15 11:35 Post subject: Re: not sure which php version to choose |
|
|
maxelcat wrote: | Hi
I have a WAMP running apache 2.4.4 and php 5.4.12
I want to update the php but am confused about which one I should download.
Should I go for VC11 x86 Thread Safe or VC11 x64 Thread Safe
What's the difference and how would I know which to install.
Thanks |
Well, 1st, at a command prompt cd to the Apache bin folder and type: httpd -V
That will tell you which architecture your Apache is. I'm guessing Win32 (x86).
Here's the problem however, your current PHP is built with VC9, so your Apache is also likely VC9 and will not load a VC11 php module.
Not all is lost however, as long as you are running on Windows Vista or above, you can run a VC11 PHP using mod_fcgid. This also allows you to run an x64 PHP (provided your Windows is 64bit) even though your Apache is most likely x86. It's just NOT as simple as replace php and start up Apache.
You also have the option of using PHP 5.4.39 thread safe, that should be as simple as just replacing PHP and running.
Just remember to backup what you have before trying anything. |
|
Back to top |
|
maxelcat
Joined: 17 Feb 2010 Posts: 4
|
Posted: Tue 31 Mar '15 22:04 Post subject: |
|
|
Thanks to all who replied.
I did the httpd -V command and found out that its apache 2.2.4 ( win 64) and the architecture is 64 bit
But - I am going to want to update my mysql as well. So I am beginning to wonder if I'd be better off just looking to update the whole WAMP. |
|
Back to top |
|