logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: not sure which php version to choose
Author
maxelcat



Joined: 17 Feb 2010
Posts: 4

PostPosted: Mon 30 Mar '15 18:36    Post subject: not sure which php version to choose Reply with quote

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: 679

PostPosted: Mon 30 Mar '15 20:28    Post subject: Reply with quote

Have a look at https://www.apachelounge.com/viewtopic.php?t=4481
Back to top
maxelcat



Joined: 17 Feb 2010
Posts: 4

PostPosted: Tue 31 Mar '15 9:11    Post subject: Reply with quote

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: 3057
Location: Hilversum, NL, EU

PostPosted: Tue 31 Mar '15 9:54    Post subject: Reply with quote

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

PostPosted: Tue 31 Mar '15 11:35    Post subject: Re: not sure which php version to choose Reply with quote

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

PostPosted: Tue 31 Mar '15 22:04    Post subject: Reply with quote

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


Reply to topic   Topic: not sure which php version to choose View previous topic :: View next topic
Post new topic   Forum Index -> Other Software