Re: Install Apache Php Windows 64 bit [message #185503 is a reply to message #185501] |
Sun, 06 April 2014 03:22 |
Michael Vilain
Messages: 88 Registered: September 2010
Karma:
|
Member |
|
|
In article <lhq94e$1v2$1(at)dont-email(dot)me>,
Chuck Anderson <cycletourist(at)invalid(dot)invalid> wrote:
> My latest (3 year old) setup is a Windows 7 Pro 64 bit laptop using
> Apache 2.2 (with ssl) and Php 5.4, both 32 bit versions.
>
> I just built a brand new desktop machine, also with Windows 7 Pro 64
> bit, and I would like to upgrade Apache to 2.4 and keep Php at version
> 5.4. (I have a lot of older web apps I wrote that use the old mysql
> extension and I'd like to take my time updating them). This is not be a
> public server, so using slightly older software is not a great concern
> to me.
>
> Anyway, when searching the web I see lots of forum posts and blogs With
> installation advice, notes, and tutorials for installing Windows Apache
> 2.4 64 bit with Php and it is beginning to look like it could be too
> much trouble. I like to keep things simple and I do not know what path
> to take here.
>
> From what I understand, I need to install MS Visual C++ redistributable
> 2012 (C11) before I install Apache 2.4 64 bit from Apache Lounge.
> That's easy enough, but then, I don't even know if there is a compatible
> Php5.4 build for 64 bit Apache. ??
>
> I keep thinking I should fall back to the 32 bit version (and Apache
> 2.2) to avoid any extra troubleshooting and tweaks that may be necessary.
>
> Ideally, I'd like to install Apache (manually, http -k install) as I
> always have (easy - especially when using a previous http.con for
> reference) and unzip Php into an appropriate folder (copy a previous
> hp.mini file - making sure paths to Php modules are correct).
>
> Using Apache2.2 and Php5.4 - 32 bit - this has always been quick and
> easy - and it simply works. If the 64 bit versions of Apache 2.4 and
> Php 5.4 (or 5.5) require more "adjustments" I'd rather stick with what
> simply works. I see so many discussions about problems that it makes me
> hesitant. All I want to do is keep my "legacy" web apps running on my
> new desktop (so I can retire my old Win EXP desktop - my main local
> network web server).
>
> Any experience or advice to share? It almost seems like Apache 2.4 and
> Php - 64 bit - are not quite "ready for prime-time."
From the Linux world, it's a no-no to mix 32-bit and 64-bit stuff that
are linked together sharing libraries.
In my world, Apache, php, and mysql would all have to be 64-bit in order
to work together. The package manager wouldn't allow you to install
anything else.
IF you're running php as a CGI instead of a mod_php, then you might get
away with a 32-bit version of it. And it might talk to a 32-bit version
of MySQL since it's usually done through a pipe or network socket. But
if you have Apache and mod_php, they're tied together and you're stuck
running a 64-bit version, however you get that.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
|
|
|