Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.php

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-06-2012, 09:12 AM
Dominique Ottello
Guest
 
Posts: n/a
Default Windows binaries 64bit for PHP

Hi,

ApacheLounge http://www.apachelounge.com/download/win64/
and MySQL http://www.mysql.com/downloads/mysql/5.5.html
gives us Windows 64 bit binaries for Apache and MySQL.

PHP does not do it!
Why? Could it be that complicated to compile for 32 AND 64 bit?
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 05-06-2012, 09:51 AM
J.O. Aho
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

Dominique Ottello wrote:
> Hi,
>
> ApacheLounge http://www.apachelounge.com/download/win64/
> and MySQL http://www.mysql.com/downloads/mysql/5.5.html
> gives us Windows 64 bit binaries for Apache and MySQL.
>
> PHP does not do it!
> Why? Could it be that complicated to compile for 32 AND 64 bit?


Why don't Microsoft do it? All the Linuxes and Unixes does that.

--

//Aho
Reply With Quote
  #3 (permalink)  
Old 05-06-2012, 05:04 PM
Dominique Ottello
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

Arno Welzel <usenet@arnowelzel.de> écrivait :

> Why do you need 64 bit binaries?

Because 32 bit PHP binaries do not work with Apache 64 bit.
Reply With Quote
  #4 (permalink)  
Old 05-06-2012, 05:04 PM
Dominique Ottello
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

Gregor Kofler <usenet@gregorkofler.com> écrivait :

> <http://www.anindya.com/php-5-4-0-x64-64-bit-for-windows/>
>
> That was easy, wasn't it?

Oh yes ! I know. Anindya is my own source.
But the current PHP versions are 5.4.2 and 5.3.12
It will be a bit easier if PHP make them like Apache and MySQL.
Reply With Quote
  #5 (permalink)  
Old 05-07-2012, 06:05 PM
Arno Welzel
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

Dominique Ottello, 06.05.2012 19:04:

> Arno Welzel <usenet@arnowelzel.de> écrivait :
>
>> Why do you need 64 bit binaries?

> Because 32 bit PHP binaries do not work with Apache 64 bit.


Ok - why do you need 64 bit at all for a web server?

I run a web server for multiple domains with more than 1 mio hits in
total per month where about 50% are handled by an Apache PHP module. I
also use XCache and so far neither Apache nor XCache are getting to any
limit (XCache runs fine with 128 MB cache and only uses about 60-70 MB
of it and the whole system does not allocate more than about 1,5-1,8 GB
of RAM).



--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
Reply With Quote
  #6 (permalink)  
Old 05-07-2012, 07:23 PM
The Natural Philosopher
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

Arno Welzel wrote:
> Dominique Ottello, 06.05.2012 19:04:
>
>> Arno Welzel <usenet@arnowelzel.de> écrivait :
>>
>>> Why do you need 64 bit binaries?

>> Because 32 bit PHP binaries do not work with Apache 64 bit.

>
> Ok - why do you need 64 bit at all for a web server?
>

helps a lot when rescaling images on the fly...


> I run a web server for multiple domains with more than 1 mio hits in
> total per month where about 50% are handled by an Apache PHP module. I
> also use XCache and so far neither Apache nor XCache are getting to any
> limit (XCache runs fine with 128 MB cache and only uses about 60-70 MB
> of it and the whole system does not allocate more than about 1,5-1,8 GB
> of RAM).
>
>
>



--
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.
Reply With Quote
  #7 (permalink)  
Old 05-07-2012, 09:16 PM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

On 5/7/2012 3:23 PM, The Natural Philosopher wrote:
> Arno Welzel wrote:
>> Dominique Ottello, 06.05.2012 19:04:
>>
>>> Arno Welzel <usenet@arnowelzel.de> écrivait :
>>>
>>>> Why do you need 64 bit binaries?
>>> Because 32 bit PHP binaries do not work with Apache 64 bit.

>>
>> Ok - why do you need 64 bit at all for a web server?
>>

> helps a lot when rescaling images on the fly...
>
>
>> I run a web server for multiple domains with more than 1 mio hits in
>> total per month where about 50% are handled by an Apache PHP module. I
>> also use XCache and so far neither Apache nor XCache are getting to any
>> limit (XCache runs fine with 128 MB cache and only uses about 60-70 MB
>> of it and the whole system does not allocate more than about 1,5-1,8 GB
>> of RAM).
>>
>>
>>

>
>


Why would you repeatedly rescale images on the fly? You should know
what size you need for your pages and resize them once.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
  #8 (permalink)  
Old 05-07-2012, 09:49 PM
Peter H. Coffin
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

On Mon, 07 May 2012 20:23:24 +0100, The Natural Philosopher wrote:
> Arno Welzel wrote:
>> Dominique Ottello, 06.05.2012 19:04:
>>
>>> Arno Welzel <usenet@arnowelzel.de> ??crivait :
>>>
>>>> Why do you need 64 bit binaries?
>>> Because 32 bit PHP binaries do not work with Apache 64 bit.

>>
>> Ok - why do you need 64 bit at all for a web server?
>>

> helps a lot when rescaling images on the fly...


Do you really do a lot of that, though? I mean, instead of pre-scaling
to a certain set number of sizes. Which seems more generally useful. If
you do, there's ways to handle that more rapidly and with less load than
the general purpose tools that PHP has wrappers for. EG: VIPS is
something like 4 times the speed at rescale than Gmagick.

--
I got told by a friend's ex-girlfriend that she could tell I was
a Linux geek from the way I *walked*.
-- Skud
Reply With Quote
  #9 (permalink)  
Old 05-07-2012, 10:01 PM
Daniel Pitts
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

On 5/7/12 2:49 PM, Peter H. Coffin wrote:
> On Mon, 07 May 2012 20:23:24 +0100, The Natural Philosopher wrote:
>> Arno Welzel wrote:
>>> Dominique Ottello, 06.05.2012 19:04:
>>>
>>>> Arno Welzel<usenet@arnowelzel.de> ??crivait :
>>>>
>>>>> Why do you need 64 bit binaries?
>>>> Because 32 bit PHP binaries do not work with Apache 64 bit.
>>>
>>> Ok - why do you need 64 bit at all for a web server?
>>>

>> helps a lot when rescaling images on the fly...

>
> Do you really do a lot of that, though? I mean, instead of pre-scaling
> to a certain set number of sizes. Which seems more generally useful. If
> you do, there's ways to handle that more rapidly and with less load than
> the general purpose tools that PHP has wrappers for. EG: VIPS is
> something like 4 times the speed at rescale than Gmagick.
>

I haven't been following this thread, but I'll talk about my personal
experience with image sizes.

My particular company has a huge catalog of images. Right now, we do
prescale the images to all the various sizes that might be needed, which
works alright except that our design department every once in a while
needs a new size. The amount of time required and effort to back-fill
the old data is relatively large, and we don't necessarily need every
size for every image (we just don't know where the images will show up
eventually).

Dynamic image scaling solves that problem nicely. With caching in place
of course.
Reply With Quote
  #10 (permalink)  
Old 05-08-2012, 12:15 AM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

On 5/7/2012 6:01 PM, Daniel Pitts wrote:
> On 5/7/12 2:49 PM, Peter H. Coffin wrote:
>> On Mon, 07 May 2012 20:23:24 +0100, The Natural Philosopher wrote:
>>> Arno Welzel wrote:
>>>> Dominique Ottello, 06.05.2012 19:04:
>>>>
>>>>> Arno Welzel<usenet@arnowelzel.de> ??crivait :
>>>>>
>>>>>> Why do you need 64 bit binaries?
>>>>> Because 32 bit PHP binaries do not work with Apache 64 bit.
>>>>
>>>> Ok - why do you need 64 bit at all for a web server?
>>>>
>>> helps a lot when rescaling images on the fly...

>>
>> Do you really do a lot of that, though? I mean, instead of pre-scaling
>> to a certain set number of sizes. Which seems more generally useful. If
>> you do, there's ways to handle that more rapidly and with less load than
>> the general purpose tools that PHP has wrappers for. EG: VIPS is
>> something like 4 times the speed at rescale than Gmagick.
>>

> I haven't been following this thread, but I'll talk about my personal
> experience with image sizes.
>
> My particular company has a huge catalog of images. Right now, we do
> prescale the images to all the various sizes that might be needed, which
> works alright except that our design department every once in a while
> needs a new size. The amount of time required and effort to back-fill
> the old data is relatively large, and we don't necessarily need every
> size for every image (we just don't know where the images will show up
> eventually).
>
> Dynamic image scaling solves that problem nicely. With caching in place
> of course.


I've had clients who have the same need. It's pretty simple to scale a
large number of images with a batch file (PHP, BASH, etc.), and proper
naming/cataloging takes care of the rest.

Who cares if you don't use all of the sizes? Disk space is cheap - much
cheaper than processor time.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
  #11 (permalink)  
Old 05-08-2012, 03:37 AM
Daniel Pitts
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

On 5/7/12 5:15 PM, Jerry Stuckle wrote:
> On 5/7/2012 6:01 PM, Daniel Pitts wrote:
>> On 5/7/12 2:49 PM, Peter H. Coffin wrote:
>>> On Mon, 07 May 2012 20:23:24 +0100, The Natural Philosopher wrote:
>>>> Arno Welzel wrote:
>>>>> Dominique Ottello, 06.05.2012 19:04:
>>>>>
>>>>>> Arno Welzel<usenet@arnowelzel.de> ??crivait :
>>>>>>
>>>>>>> Why do you need 64 bit binaries?
>>>>>> Because 32 bit PHP binaries do not work with Apache 64 bit.
>>>>>
>>>>> Ok - why do you need 64 bit at all for a web server?
>>>>>
>>>> helps a lot when rescaling images on the fly...
>>>
>>> Do you really do a lot of that, though? I mean, instead of pre-scaling
>>> to a certain set number of sizes. Which seems more generally useful. If
>>> you do, there's ways to handle that more rapidly and with less load than
>>> the general purpose tools that PHP has wrappers for. EG: VIPS is
>>> something like 4 times the speed at rescale than Gmagick.
>>>

>> I haven't been following this thread, but I'll talk about my personal
>> experience with image sizes.
>>
>> My particular company has a huge catalog of images. Right now, we do
>> prescale the images to all the various sizes that might be needed, which
>> works alright except that our design department every once in a while
>> needs a new size. The amount of time required and effort to back-fill
>> the old data is relatively large, and we don't necessarily need every
>> size for every image (we just don't know where the images will show up
>> eventually).
>>
>> Dynamic image scaling solves that problem nicely. With caching in place
>> of course.

>
> I've had clients who have the same need. It's pretty simple to scale a
> large number of images with a batch file (PHP, BASH, etc.), and proper
> naming/cataloging takes care of the rest.

Pretty simple if you have a small enough set of images. The processor
time that would be needed to resize every last image in our catalog was
calculated in months. Making this a distributed task would be necessary,
and not entirely easy to do in PHP/BASH.

> Who cares if you don't use all of the sizes? Disk space is cheap - much
> cheaper than processor time.
>

Exactly true, but if you scale to sizes you don't need, you indeed use
more processor time! Our disk space is definitely not the bottleneck.
Reply With Quote
  #12 (permalink)  
Old 05-08-2012, 07:11 AM
Arno Welzel
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

Daniel Pitts, 08.05.2012 05:37:

> On 5/7/12 5:15 PM, Jerry Stuckle wrote:

[...]
>> I've had clients who have the same need. It's pretty simple to scale a
>> large number of images with a batch file (PHP, BASH, etc.), and proper
>> naming/cataloging takes care of the rest.

> Pretty simple if you have a small enough set of images. The processor
> time that would be needed to resize every last image in our catalog was
> calculated in months. Making this a distributed task would be necessary,
> and not entirely easy to do in PHP/BASH.


Months?

You have to deal with several million images? Because otherwise its hard
to imagine that scaling images to a number of sizes - not print
resolutions since these images are only used for a web site - will take
*months*.



--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
Reply With Quote
  #13 (permalink)  
Old 05-08-2012, 07:49 AM
Álvaro G. Vicario
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

El 06/05/2012 11:12, Dominique Ottello escribió/wrote:
> ApacheLounge http://www.apachelounge.com/download/win64/
> and MySQL http://www.mysql.com/downloads/mysql/5.5.html
> gives us Windows 64 bit binaries for Apache and MySQL.
>
> PHP does not do it!
> Why? Could it be that complicated to compile for 32 AND 64 bit?


Well... Last time I checked, official Apache 2.2 32-bit binaries were
using an obsolete compiler that would clash with PHP's more modern
binaries and there weren't official Apache 2.4 binaries at all, neither
32 nor 64. So I don't know if it's difficult (though it probably is,
given that you can hardly find unofficial standalone binaries out there)
but it's not true that Apache gets it right.

I've been using Anindya's binaries for a while, given that he's the only
one who's taken the time to compile the official MSI installers, and
I've found no problems so far, though of course that means you must
basically trust a stranger

http://www.anindya.com/

As an alternative, you can use a WAMP bundle like Xampp if you don't
mind the added complexity.


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
Reply With Quote
  #14 (permalink)  
Old 05-08-2012, 12:21 PM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

On 5/7/2012 11:37 PM, Daniel Pitts wrote:
> On 5/7/12 5:15 PM, Jerry Stuckle wrote:
>> On 5/7/2012 6:01 PM, Daniel Pitts wrote:
>>> On 5/7/12 2:49 PM, Peter H. Coffin wrote:
>>>> On Mon, 07 May 2012 20:23:24 +0100, The Natural Philosopher wrote:
>>>>> Arno Welzel wrote:
>>>>>> Dominique Ottello, 06.05.2012 19:04:
>>>>>>
>>>>>>> Arno Welzel<usenet@arnowelzel.de> ??crivait :
>>>>>>>
>>>>>>>> Why do you need 64 bit binaries?
>>>>>>> Because 32 bit PHP binaries do not work with Apache 64 bit.
>>>>>>
>>>>>> Ok - why do you need 64 bit at all for a web server?
>>>>>>
>>>>> helps a lot when rescaling images on the fly...
>>>>
>>>> Do you really do a lot of that, though? I mean, instead of pre-scaling
>>>> to a certain set number of sizes. Which seems more generally useful. If
>>>> you do, there's ways to handle that more rapidly and with less load
>>>> than
>>>> the general purpose tools that PHP has wrappers for. EG: VIPS is
>>>> something like 4 times the speed at rescale than Gmagick.
>>>>
>>> I haven't been following this thread, but I'll talk about my personal
>>> experience with image sizes.
>>>
>>> My particular company has a huge catalog of images. Right now, we do
>>> prescale the images to all the various sizes that might be needed, which
>>> works alright except that our design department every once in a while
>>> needs a new size. The amount of time required and effort to back-fill
>>> the old data is relatively large, and we don't necessarily need every
>>> size for every image (we just don't know where the images will show up
>>> eventually).
>>>
>>> Dynamic image scaling solves that problem nicely. With caching in place
>>> of course.

>>
>> I've had clients who have the same need. It's pretty simple to scale a
>> large number of images with a batch file (PHP, BASH, etc.), and proper
>> naming/cataloging takes care of the rest.

> Pretty simple if you have a small enough set of images. The processor
> time that would be needed to resize every last image in our catalog was
> calculated in months. Making this a distributed task would be necessary,
> and not entirely easy to do in PHP/BASH.
>


That does not compute. Repeatedly resizing the images on the fly would
then take years.

>> Who cares if you don't use all of the sizes? Disk space is cheap - much
>> cheaper than processor time.
>>

> Exactly true, but if you scale to sizes you don't need, you indeed use
> more processor time! Our disk space is definitely not the bottleneck.


And if you repeatedly rescale the same image to the same size, you're
using even more processor time!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
  #15 (permalink)  
Old 05-08-2012, 06:17 PM
Daniel Pitts
Guest
 
Posts: n/a
Default Re: Windows binaries 64bit for PHP

On 5/8/12 5:21 AM, Jerry Stuckle wrote:
> On 5/7/2012 11:37 PM, Daniel Pitts wrote:
>> On 5/7/12 5:15 PM, Jerry Stuckle wrote:
>>> On 5/7/2012 6:01 PM, Daniel Pitts wrote:
>>>> On 5/7/12 2:49 PM, Peter H. Coffin wrote:
>>>>> On Mon, 07 May 2012 20:23:24 +0100, The Natural Philosopher wrote:
>>>>>> Arno Welzel wrote:
>>>>>>> Dominique Ottello, 06.05.2012 19:04:
>>>>>>>
>>>>>>>> Arno Welzel<usenet@arnowelzel.de> ??crivait :
>>>>>>>>
>>>>>>>>> Why do you need 64 bit binaries?
>>>>>>>> Because 32 bit PHP binaries do not work with Apache 64 bit.
>>>>>>>
>>>>>>> Ok - why do you need 64 bit at all for a web server?
>>>>>>>
>>>>>> helps a lot when rescaling images on the fly...
>>>>>
>>>>> Do you really do a lot of that, though? I mean, instead of pre-scaling
>>>>> to a certain set number of sizes. Which seems more generally
>>>>> useful. If
>>>>> you do, there's ways to handle that more rapidly and with less load
>>>>> than
>>>>> the general purpose tools that PHP has wrappers for. EG: VIPS is
>>>>> something like 4 times the speed at rescale than Gmagick.
>>>>>
>>>> I haven't been following this thread, but I'll talk about my personal
>>>> experience with image sizes.
>>>>
>>>> My particular company has a huge catalog of images. Right now, we do
>>>> prescale the images to all the various sizes that might be needed,
>>>> which
>>>> works alright except that our design department every once in a while
>>>> needs a new size. The amount of time required and effort to back-fill
>>>> the old data is relatively large, and we don't necessarily need every
>>>> size for every image (we just don't know where the images will show up
>>>> eventually).
>>>>
>>>> Dynamic image scaling solves that problem nicely. With caching in place
>>>> of course.
>>>
>>> I've had clients who have the same need. It's pretty simple to scale a
>>> large number of images with a batch file (PHP, BASH, etc.), and proper
>>> naming/cataloging takes care of the rest.

>> Pretty simple if you have a small enough set of images. The processor
>> time that would be needed to resize every last image in our catalog was
>> calculated in months. Making this a distributed task would be necessary,
>> and not entirely easy to do in PHP/BASH.
>>

>
> That does not compute. Repeatedly resizing the images on the fly would
> then take years.
>
>>> Who cares if you don't use all of the sizes? Disk space is cheap - much
>>> cheaper than processor time.
>>>

>> Exactly true, but if you scale to sizes you don't need, you indeed use
>> more processor time! Our disk space is definitely not the bottleneck.

>
> And if you repeatedly rescale the same image to the same size, you're
> using even more processor time!
>

Who said repeatedly rescale? The process I've been talking about is more
like "lazy" scaling.
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 09:33 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.