Author |
|
DmitryV
Joined: 10 Jan 2011 Posts: 29 Location: Russian Federation, Saint-Petersburg
|
Posted: Wed 12 Jan '11 23:04 Post subject: PHP 5.3.5 x64 who can build? |
|
|
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: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 13 Jan '11 17:50 Post subject: |
|
|
I gonna try this week. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 13 Jan '11 21:38 Post subject: |
|
|
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
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 14 Jan '11 0:01 Post subject: |
|
|
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
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 14 Jan '11 10:58 Post subject: |
|
|
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: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
DmitryV
Joined: 10 Jan 2011 Posts: 29 Location: Russian Federation, Saint-Petersburg
|
Posted: Fri 14 Jan '11 11:29 Post subject: |
|
|
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: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
DmitryV
Joined: 10 Jan 2011 Posts: 29 Location: Russian Federation, Saint-Petersburg
|
Posted: Fri 14 Jan '11 12:35 Post subject: |
|
|
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: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 14 Jan '11 12:42 Post subject: |
|
|
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
|
Posted: Fri 14 Jan '11 13:07 Post subject: |
|
|
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: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 14 Jan '11 13:20 Post subject: |
|
|
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 |
|
Back to top |
|
DmitryV
Joined: 10 Jan 2011 Posts: 29 Location: Russian Federation, Saint-Petersburg
|
Posted: Fri 14 Jan '11 13:29 Post subject: |
|
|
All successfully launched Apache 2.2.17 x64 + php 5.3.5 x64 (module), all in a testing phase to 3 working hosts. |
|
Back to top |
|
Virsacer
Joined: 16 Jan 2010 Posts: 108 Location: Germany, Darmstadt
|
Posted: Fri 14 Jan '11 20:58 Post subject: |
|
|
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
|
Posted: Fri 04 Feb '11 20:34 Post subject: |
|
|
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 |
|