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: PHP 5.3.5 x64 who can build?
Author
DmitryV



Joined: 10 Jan 2011
Posts: 29
Location: Russian Federation, Saint-Petersburg

PostPosted: Wed 12 Jan '11 23:04    Post subject: PHP 5.3.5 x64 who can build? Reply with quote

Please tell me who can do the build php version 5.3.5 x64? Thanks, I think it will be useful to many.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Thu 13 Jan '11 17:50    Post subject: Reply with quote

I gonna try this week.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Thu 13 Jan '11 21:38    Post subject: Reply with quote

Do you need just PHP or also the modules for apache?
Back to top
DmitryV



Joined: 10 Jan 2011
Posts: 29
Location: Russian Federation, Saint-Petersburg

PostPosted: Thu 13 Jan '11 23:40    Post subject: Reply with quote

Thank you'll be very grateful to you, php and modules that go into builds php 5.3.5 Thread Safe
http://windows.php.net/downloads/releases/php-5.3.5-Win32-VC9-x86.zip
Source: http://windows.php.net/downloads/releases/php-5.3.5-src.zip
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Fri 14 Jan '11 0:01    Post subject: Reply with quote

So far I've downloaded the source files and make some quick tests. Downloads will follow soon.
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Fri 14 Jan '11 9:55    Post subject: Reply with quote

You can use this Build
http://www.apachelounge.com/viewtopic.php?t=3508
It's PHP 5.3.4 but nothing changed to 5.3.5
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Fri 14 Jan '11 10:58    Post subject: Reply with quote

I strongly disagree! There are significant changes.
Quote:

This release resolves a critical issue, reported as PHP bug #53632 and CVE-2010-4645, where conversions from string to double might cause the PHP interpreter to hang on systems using x87 FPU registers.

The problem is known to only affect x86 32-bit PHP processes, regardless of whether the system hosting PHP is 32-bit or 64-bit. You can test whether your system is affected by running this script from the command line.

All users of PHP are strongly advised to update to these versions immediately.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Fri 14 Jan '11 11:02    Post subject: Reply with quote

Build is done. I tested PHP itself (8600+ commandline tests), but not the module. Would be great to get feedback if it is working.

http://www.apachehaus.de/php-5.3.5-nts-Win32-VC9-x64.zip
http://www.apachehaus.de/php-5.3.5-Win32-VC9-x64.zip
Back to top
DmitryV



Joined: 10 Jan 2011
Posts: 29
Location: Russian Federation, Saint-Petersburg

PostPosted: Fri 14 Jan '11 11:29    Post subject: Reply with quote

Now set to host, to 3 working site (module) and to test the builds, thanks.

PS: Request to you, if you're not hard to share the knowledge how to compile php on windows platform, I would like in the future to learn to do the builds yourself, thank you very much.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Fri 14 Jan '11 12:11    Post subject: Reply with quote

There is no magic. Just take a look at http://wiki.php.net/internals/windows/stepbystepbuild

if you have a question to it you are welcome to ask here.
Back to top
DmitryV



Joined: 10 Jan 2011
Posts: 29
Location: Russian Federation, Saint-Petersburg

PostPosted: Fri 14 Jan '11 12:35    Post subject: Reply with quote

Compared the build x86 x64, and your still in sight - no libraries / ext / php_oci8.dll, php_oci8_11g.dll, php_gmp.dll, php_interbase.dll ... only difference 9 libraries expand, and there is some libraries that are at the root builds x86 - glib-2.dll, gmodule-2.dll, libenchant.dll, libenchant_ispell.dll, libsasl.dll, libenchant_myspell.dll.

Right now, check module.
PS: for the link to an article about the build thanks to the question what is the difference in build and nts ts, thank you.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Fri 14 Jan '11 12:42    Post subject: Reply with quote

Well the x64 with apache modules is a bit different.

quick and dirty :
Do every thing form the wiki including point 5 (unpack binary tools.zip)

copy C:\Apache22\include to C:\php-sdk\php53x\vc9\x64\deps\include
copy C:\Apache22\lib to C:\php-sdk\php53x\vc9\x64\deps\lib

C:\Windows\System32\cmd.exe /E:ON /V:ON /T:0E /K "C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.cmd" /Release

Code:

cd c:\php-sdk\
bin\phpsdk_setvars.bat
cd C:\php-sdk\php53dev\vc9\x64\php5.3-xyz
buildconf
configure --enable-apache2filter --enable-apache2-2filter --enable-apache2handler --enable-apache2-2handler --enable-snapshot-build
nmake snap


For the non thread safe version use
Code:

configure --enable-snapshot-build --disable-zts
Back to top
DmitryV



Joined: 10 Jan 2011
Posts: 29
Location: Russian Federation, Saint-Petersburg

PostPosted: Fri 14 Jan '11 13:07    Post subject: Reply with quote

Thank you, right now faced with the difficulties can not run apache x64 build from your site, gives service error code 1, right now versed in reason.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Fri 14 Jan '11 13:20    Post subject: Reply with quote

What? You can't run Apache combined with the new PHP 5.3.5 or is it just apache?

--- edit ---
if it is just apache please start a new topic Wink
Back to top
DmitryV



Joined: 10 Jan 2011
Posts: 29
Location: Russian Federation, Saint-Petersburg

PostPosted: Fri 14 Jan '11 13:29    Post subject: Reply with quote

All successfully launched Apache 2.2.17 x64 + php 5.3.5 x64 (module), all in a testing phase to 3 working hosts. Cool
Back to top
Virsacer



Joined: 16 Jan 2010
Posts: 108
Location: Germany, Darmstadt

PostPosted: Fri 14 Jan '11 20:58    Post subject: Reply with quote

James Blond wrote:
I strongly disagree! There are significant changes.
Quote:
This release resolves a critical issue, reported as PHP bug #53632 and CVE-2010-4645, where conversions from string to double might cause the PHP interpreter to hang on systems using x87 FPU registers.

The problem is known to only affect x86 32-bit PHP processes, regardless of whether the system hosting PHP is 32-bit or 64-bit. You can test whether your system is affected by running this script from the command line.

All users of PHP are strongly advised to update to these versions immediately.

Well, as your quote says: "only affect x86 32-bit PHP processes"
When I run the script with a 32bit php it hangs - with my 64bit 5.3.4 it does not...
Back to top
gwen riddle



Joined: 04 Feb 2011
Posts: 1
Location: USA

PostPosted: Fri 04 Feb '11 20:34    Post subject: Reply with quote

Hello, I am a web developer (kind of) and I have been working with a website just recently for a month now. I am still on the learning curve and I am using Joomla as my backend. I am still struggling though with PHP coding as I am still like i said, on the learning curve. I need a few tips and tricks so I could fully customize my template to my liking. I just hope I came to the right forums..

Gwen Riddle
Back to top


Reply to topic   Topic: PHP 5.3.5 x64 who can build? View previous topic :: View next topic
Post new topic   Forum Index -> Other Software