FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Install Apache Php Windows 64 bit
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Install Apache Php Windows 64 bit [message #185501] Sun, 06 April 2014 01:02 Go to next message
Chuck Anderson is currently offline  Chuck Anderson
Messages: 63
Registered: September 2010
Karma: 0
Member
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."

--
*****************************
Chuck Anderson • Boulder, CO
http://cycletourist.com
Turn Off, Tune Out, Drop In
*****************************
Re: Install Apache Php Windows 64 bit [message #185502 is a reply to message #185501] Sun, 06 April 2014 01:49 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 4/5/2014 9:02 PM, Chuck Anderson 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."
>

Try asking in an Apache newsgroup. This one is about PHP (in case you
couldn't figure that out).


--
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex(at)attglobal(dot)net
==================
Re: Install Apache Php Windows 64 bit [message #185503 is a reply to message #185501] Sun, 06 April 2014 03:22 Go to previous messageGo to next message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma: 0
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]
Re: Install Apache Php Windows 64 bit [message #185505 is a reply to message #185503] Mon, 07 April 2014 03:20 Go to previous messageGo to next message
Chuck Anderson is currently offline  Chuck Anderson
Messages: 63
Registered: September 2010
Karma: 0
Member
Michael Vilain wrote:
> In article <lhq94e$1v2$1(at)dont-email(dot)me>,
> Chuck Anderson <cycletourist(at)invalid(dot)invalid> wrote:
>
>> ...
>> 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.
>>
>> ......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.

I am currently doing the opposite, using a 64 bit build of Mysql5.5 with
32 bit builds of Php and Apache.

--
*****************************
Chuck Anderson • Boulder, CO
http://cycletourist.com
Turn Off, Tune Out, Drop In
*****************************
Re: Install Php5.4+ Windows 64 bit and/or VC11 - with Apache [message #185506 is a reply to message #185501] Mon, 07 April 2014 03:21 Go to previous messageGo to next message
Chuck Anderson is currently offline  Chuck Anderson
Messages: 63
Registered: September 2010
Karma: 0
Member
I'll try again .... (also changed Subject)

Perhaps I said too much about Apache and it masked my real question,
which is more to do with Php than Apache.

I'm trying to get on board with the latest releases I can, so I would
like to use a VC11 (Visual Studio 2012)/ /compiled version of Php and
Apache (they must be the same if using the Php Apache module). The
Apache part is easy. I can get a VC9 (Visual Studio 2008)/ /or VC11
compiled version in 32 or 64 bit. The tricky part seems to be Php.

I've pretty much ruled out Php5.4 x64 bit as php.net labels all Php x64
releases as "experimental." So now my search has narrowed to finding a
stable version of Php 5.4 x86 compiled with the VC11 compiler. Does
anyone know where I can find a VC11 compiled version of Php5.4? And if
so, have you integrated it with Apache (2.2 or 2.4) on Windows?

I'd like to use the latest software to avoid having to update sometime
in the near future, but it looks like using Php5.4 is going to hold me back.

I do have another choice, and that is using Php5.5. There are VC9 and
VC11 versions at windows.php.net. I could even try the 64 bit
versions. So question two would be, has anyone else successfully
implemented a 64 bit version of Php5.5 on Windows (7+) using the Apache
server module?

--
*****************************
Chuck Anderson • Boulder, CO
http://cycletourist.com
Turn Off, Tune Out, Drop In
*****************************
Re: Install Apache Php Windows 64 bit [message #185507 is a reply to message #185505] Mon, 07 April 2014 04:50 Go to previous messageGo to next message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma: 0
Member
In article <lht5ja$utq$1(at)dont-email(dot)me>,
Chuck Anderson <cycletourist(at)invalid(dot)invalid> wrote:

> Michael Vilain wrote:
>> In article <lhq94e$1v2$1(at)dont-email(dot)me>,
>> Chuck Anderson <cycletourist(at)invalid(dot)invalid> wrote:
>>
>>> ...
>>> 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.
>>>
>>> ......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.
>
> I am currently doing the opposite, using a 64 bit build of Mysql5.5 with
> 32 bit builds of Php and Apache.

MySQL isn't linked to php. They talk through interprocess communication
or a network connnection. So that should work. It's Apache and php
that can be linked together or run separately. If they are linked, then
they both must be either 32-bit or 64-bit. That was my point. Your
configuration works. Is there a reason why you're changing it?

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
Re: Install Apache Php Windows 64 bit [message #185509 is a reply to message #185507] Mon, 07 April 2014 05:16 Go to previous messageGo to next message
Chuck Anderson is currently offline  Chuck Anderson
Messages: 63
Registered: September 2010
Karma: 0
Member
Michael Vilain wrote:
> In article <lht5ja$utq$1(at)dont-email(dot)me>,
> Chuck Anderson <cycletourist(at)invalid(dot)invalid> wrote:
>
>
>> Michael Vilain wrote:
>>
>>> In article <lhq94e$1v2$1(at)dont-email(dot)me>,
>>> Chuck Anderson <cycletourist(at)invalid(dot)invalid> wrote:
>>>
>>>
>>>> ...
>>>> 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.
>>>>
>>>> ......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.
>>>
>> I am currently doing the opposite, using a 64 bit build of Mysql5.5 with
>> 32 bit builds of Php and Apache.
>>
>
> MySQL isn't linked to php. They talk through interprocess communication
> or a network connnection. So that should work.

I know that, I was just commenting on your statement that "it might talk
to a 32-bit version of MySQL...". Indeed it should, and I know for a
fact that it also works in the opposite direction, too.

> It's Apache and php
> that can be linked together or run separately. If they are linked, then
> they both must be either 32-bit or 64-bit. That was my point. Your
> configuration works. Is there a reason why you're changing it?
>
>

I am installing into a new system that I intend to use for many years
and I'd like to take a step forward (newer version of VC++ compilation
and perhaps x64). I could use the Php 5.4 x32 VC9 as I have it now. Php
5.4 is fine for a production server (my shared host is at 5.3, and that
is only if I opt to upgrade from the default 5.2).

I would prefer, though, to start using the latest Php builds (5.5) in my
local development environment. I'd also like to start using the versions
compiled with VC11 (Visual Studio 2012) and, if it works, x64. I want to
bump Apache up because Apache2.2 is now a legacy version.

--
*****************************
Chuck Anderson • Boulder, CO
http://cycletourist.com
Turn Off, Tune Out, Drop In
*****************************
Re: Install Php5.4+ Windows 64 bit and/or VC11 - with Apache [message #185510 is a reply to message #185506] Mon, 07 April 2014 11:11 Go to previous messageGo to next message
Christoph Michael Bec is currently offline  Christoph Michael Bec
Messages: 207
Registered: June 2013
Karma: 0
Senior Member
Chuck Anderson wrote:

> I'll try again .... (also changed Subject)
>
> Perhaps I said too much about Apache and it masked my real question,
> which is more to do with Php than Apache.
> I'm trying to get on board with the latest releases I can, so I would
> like to use a VC11 (Visual Studio 2012)/ /compiled version of Php and
> Apache (they must be the same if using the Php Apache module). The
> Apache part is easy. I can get a VC9 (Visual Studio 2008)/ /or VC11
> compiled version in 32 or 64 bit. The tricky part seems to be Php.
> I've pretty much ruled out Php5.4 x64 bit as php.net labels all Php x64
> releases as "experimental." So now my search has narrowed to finding a
> stable version of Php 5.4 x86 compiled with the VC11 compiler. Does
> anyone know where I can find a VC11 compiled version of Php5.4? And if
> so, have you integrated it with Apache (2.2 or 2.4) on Windows?
>
> I'd like to use the latest software to avoid having to update sometime
> in the near future, but it looks like using Php5.4 is going to hold me
> back.
>
> I do have another choice, and that is using Php5.5. There are VC9 and
> VC11 versions at windows.php.net. I could even try the 64 bit
> versions. So question two would be, has anyone else successfully
> implemented a 64 bit version of Php5.5 on Windows (7+) using the Apache
> server module?

The x64 builds of PHP 5.5 are also flagged as experimental. They may
work fine as long as you don't need additional extensions, because these
might not be compatible with the x64 builds.

I suggest you stick with Apache 2.4 builds for x32 for the time being;
these should work fine with latest PHP 5.5.11 VC11 x32. XAMPP offers a
full download with quite recent versions for convenient installation and
use:

<https://www.apachefriends.org/blog/new_xampp_20140218.html>

--
Christoph M. Becker
Re: Install Php5.4+ Windows 64 bit and/or VC11 - with Apache [message #185512 is a reply to message #185510] Mon, 07 April 2014 11:55 Go to previous messageGo to next message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma: 0
Senior Member
Am 07.04.2014 13:11, schrieb Christoph Michael Becker:
> Chuck Anderson wrote:
>
>> I'll try again .... (also changed Subject)
>>
>> Perhaps I said too much about Apache and it masked my real question,
>> which is more to do with Php than Apache.
[...]
> I suggest you stick with Apache 2.4 builds for x32 for the time being;
> these should work fine with latest PHP 5.5.11 VC11 x32. XAMPP offers a
> full download with quite recent versions for convenient installation and
> use:
>
> <https://www.apachefriends.org/blog/new_xampp_20140218.html>

I assume, you confused "x32" with "win32" and had "x86" in mind ;-)


--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
http://fahrradzukunft.de
Re: Install Php5.4+ Windows 64 bit and/or VC11 - with Apache [message #185513 is a reply to message #185512] Mon, 07 April 2014 12:22 Go to previous messageGo to next message
Christoph Michael Bec is currently offline  Christoph Michael Bec
Messages: 207
Registered: June 2013
Karma: 0
Senior Member
Arno Welzel wrote:

> Am 07.04.2014 13:11, schrieb Christoph Michael Becker:
>
> I assume, you confused "x32" with "win32" and had "x86" in mind ;-)

Upps! Yes, of course it should have been x86. Thanks for pointing that
out.

--
Christoph M. Becker
Re: Install Php5.4+ Windows 64 bit and/or VC11 - with Apache [message #185514 is a reply to message #185506] Mon, 07 April 2014 13:30 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 4/6/2014 11:21 PM, Chuck Anderson wrote:
> I'll try again .... (also changed Subject)
>
> Perhaps I said too much about Apache and it masked my real question,
> which is more to do with Php than Apache.
> I'm trying to get on board with the latest releases I can, so I would
> like to use a VC11 (Visual Studio 2012)/ /compiled version of Php and
> Apache (they must be the same if using the Php Apache module). The
> Apache part is easy. I can get a VC9 (Visual Studio 2008)/ /or VC11
> compiled version in 32 or 64 bit. The tricky part seems to be Php.
> I've pretty much ruled out Php5.4 x64 bit as php.net labels all Php x64
> releases as "experimental." So now my search has narrowed to finding a
> stable version of Php 5.4 x86 compiled with the VC11 compiler. Does
> anyone know where I can find a VC11 compiled version of Php5.4? And if
> so, have you integrated it with Apache (2.2 or 2.4) on Windows?
>
> I'd like to use the latest software to avoid having to update sometime
> in the near future, but it looks like using Php5.4 is going to hold me
> back.
>
> I do have another choice, and that is using Php5.5. There are VC9 and
> VC11 versions t windows.php.net. I could even try the 64 bit
> versions. So question two would be, has anyone else successfully
> implemented a 64 bit version of Php5.5 on Windows (7+) using the Apache
> server module?
>

Is there a reason you need a 64 bit Windows version of Apache and PHP?
Is there some feature there you need that doesn't exist in the 32 bit
versions?

If not, I would suggest you stick with the Win32 bit versions of both.
The 64 bit versions don't give you much of a performance advantage, and
as you found out, PHP isn't fully supported (especially add-on modules,
which may not be available). If you really need the 64 bit version, I
recommend installing Linux, which has great support for both 32 and 64
bit versions.

--
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex(at)attglobal(dot)net
==================
Re: Install Php5.4+ Windows 64 bit and/or VC11 - with Apache [message #185520 is a reply to message #185510] Wed, 09 April 2014 03:54 Go to previous messageGo to next message
Chuck Anderson is currently offline  Chuck Anderson
Messages: 63
Registered: September 2010
Karma: 0
Member
Christoph Michael Becker wrote:
> Chuck Anderson wrote:
>
>
>> I'll try again .... (also changed Subject)
>>
>> Perhaps I said too much about Apache and it masked my real question,
>> which is more to do with Php than Apache.
>> I'm trying to get on board with the latest releases I can, so I would
>> like to use a VC11 (Visual Studio 2012)/ /compiled version of Php and
>> Apache (they must be the same if using the Php Apache module). The
>> Apache part is easy. I can get a VC9 (Visual Studio 2008)/ /or VC11
>> compiled version in 32 or 64 bit. The tricky part seems to be Php.
>> I've pretty much ruled out Php5.4 x64 bit as php.net labels all Php x64
>> releases as "experimental." So now my search has narrowed to finding a
>> stable version of Php 5.4 x86 compiled with the VC11 compiler. Does
>> anyone know where I can find a VC11 compiled version of Php5.4? And if
>> so, have you integrated it with Apache (2.2 or 2.4) on Windows?
>>
>> I'd like to use the latest software to avoid having to update sometime
>> in the near future, but it looks like using Php5.4 is going to hold me
>> back.
>>
>> I do have another choice, and that is using Php5.5. There are VC9 and
>> VC11 versions at windows.php.net. I could even try the 64 bit
>> versions. So question two would be, has anyone else successfully
>> implemented a 64 bit version of Php5.5 on Windows (7+) using the Apache
>> server module?
>>
>
> The x64 builds of PHP 5.5 are also flagged as experimental. They may
> work fine as long as you don't need additional extensions, because these
> might not be compatible with the x64 builds.
>
> I suggest you stick with Apache 2.4 builds for x32 for the time being;
> these should work fine with latest PHP 5.5.11 VC11 x32. XAMPP offers a
> full download with quite recent versions for convenient installation and
> use:
>
> <https://www.apachefriends.org/blog/new_xampp_20140218.html>
>
>

I was hoping I could download just Php from there, but it is the
complete XAMP installer and I don't want all the other stuff XAMP
installs on my computer. I already know how to install Apache, MySQL,
and Php individually and I prefer it that way.

--
*****************************
Chuck Anderson • Boulder, CO
http://cycletourist.com
Turn Off, Tune Out, Drop In
*****************************
Re: Install Php5.4+ Windows 64 bit and/or VC11 - with Apache [message #185521 is a reply to message #185514] Wed, 09 April 2014 04:03 Go to previous messageGo to next message
Chuck Anderson is currently offline  Chuck Anderson
Messages: 63
Registered: September 2010
Karma: 0
Member
Jerry Stuckle wrote:
> On 4/6/2014 11:21 PM, Chuck Anderson wrote:
>> I'll try again .... (also changed Subject)
>>
>> Perhaps I said too much about Apache and it masked my real question,
>> which is more to do with Php than Apache.
>> I'm trying to get on board with the latest releases I can, so I would
>> like to use a VC11 (Visual Studio 2012)/ /compiled version of Php and
>> Apache (they must be the same if using the Php Apache module). The
>> Apache part is easy. I can get a VC9 (Visual Studio 2008)/ /or VC11
>> compiled version in 32 or 64 bit. The tricky part seems to be Php.
>> I've pretty much ruled out Php5.4 x64 bit as php.net labels all Php x64
>> releases as "experimental." So now my search has narrowed to finding a
>> stable version of Php 5.4 x86 compiled with the VC11 compiler. Does
>> anyone know where I can find a VC11 compiled version of Php5.4? And if
>> so, have you integrated it with Apache (2.2 or 2.4) on Windows?
>>
>> I'd like to use the latest software to avoid having to update sometime
>> in the near future, but it looks like using Php5.4 is going to hold me
>> back.
>>
>> I do have another choice, and that is using Php5.5. There are VC9 and
>> VC11 versions t windows.php.net. I could even try the 64 bit
>> versions. So question two would be, has anyone else successfully
>> implemented a 64 bit version of Php5.5 on Windows (7+) using the Apache
>> server module?
>>
>
> Is there a reason you need a 64 bit Windows version of Apache and PHP?
> Is there some feature there you need that doesn't exist in the 32 bit
> versions?

No. I just wanted to try to stay "current."
>
> If not, I would suggest you stick with the Win32 bit versions of both.
> The 64 bit versions don't give you much of a performance advantage,
> and as you found out, PHP isn't fully supported (especially add-on
> modules, which may not be available). If you really need the 64 bit
> version, I recommend installing Linux, which has great support for
> both 32 and 64 bit versions.
>

I appreciate the discussion and pointers from all who responded. I
think I'll just go with VC9 builds of 32 bit software. It's what I use
now and it works fine. At this point I just need to get my new local
server up and running so I can move on.

--
*****************************
Chuck Anderson • Boulder, CO
http://cycletourist.com
Turn Off, Tune Out, Drop In
*****************************
Re: Install Php5.4+ Windows 64 bit and/or VC11 - with Apache [message #185522 is a reply to message #185520] Wed, 09 April 2014 05:41 Go to previous message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma: 0
Member
In article <li2gc6$6c6$1(at)dont-email(dot)me>,
Chuck Anderson <cycletourist(at)invalid(dot)invalid> wrote:

> Christoph Michael Becker wrote:
>> Chuck Anderson wrote:
>>
>>
>>> I'll try again .... (also changed Subject)
>>>
>>> Perhaps I said too much about Apache and it masked my real question,
>>> which is more to do with Php than Apache.
>>> I'm trying to get on board with the latest releases I can, so I would
>>> like to use a VC11 (Visual Studio 2012)/ /compiled version of Php and
>>> Apache (they must be the same if using the Php Apache module). The
>>> Apache part is easy. I can get a VC9 (Visual Studio 2008)/ /or VC11
>>> compiled version in 32 or 64 bit. The tricky part seems to be Php.
>>> I've pretty much ruled out Php5.4 x64 bit as php.net labels all Php x64
>>> releases as "experimental." So now my search has narrowed to finding a
>>> stable version of Php 5.4 x86 compiled with the VC11 compiler. Does
>>> anyone know where I can find a VC11 compiled version of Php5.4? And if
>>> so, have you integrated it with Apache (2.2 or 2.4) on Windows?
>>>
>>> I'd like to use the latest software to avoid having to update sometime
>>> in the near future, but it looks like using Php5.4 is going to hold me
>>> back.
>>>
>>> I do have another choice, and that is using Php5.5. There are VC9 and
>>> VC11 versions at windows.php.net. I could even try the 64 bit
>>> versions. So question two would be, has anyone else successfully
>>> implemented a 64 bit version of Php5.5 on Windows (7+) using the Apache
>>> server module?
>>>
>>
>> The x64 builds of PHP 5.5 are also flagged as experimental. They may
>> work fine as long as you don't need additional extensions, because these
>> might not be compatible with the x64 builds.
>>
>> I suggest you stick with Apache 2.4 builds for x32 for the time being;
>> these should work fine with latest PHP 5.5.11 VC11 x32. XAMPP offers a
>> full download with quite recent versions for convenient installation and
>> use:
>>
>> <https://www.apachefriends.org/blog/new_xampp_20140218.html>
>>
>>
>
> I was hoping I could download just Php from there, but it is the
> complete XAMP installer and I don't want all the other stuff XAMP
> installs on my computer. I already know how to install Apache, MySQL,
> and Php individually and I prefer it that way.

The problem with php without some sort of package manager is that there
are a bazillion options and library dependencies to build it from
source. And you have to download and compile the right version of each
one in order to build a working php. I've been building stuff from make
files for over 20 years and gave up after a week. I just built the
modules for the version that Apple supplies and that's good enough.
When they upgrade it, I'll do the same. Or I could have just used MAMP
or MacPorts or HomeBrew to build it.

Your pragmatic attitude is most refreshing.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PDF extract text
Next Topic: cURL and response code 302
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 30 17:21:02 GMT 2024

Total time taken to generate the page: 0.03156 seconds