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 -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: PHP 5.4.19 and PHP 5.5.3 available
Author
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Fri 23 Aug '13 14:55    Post subject: PHP 5.4.19 and PHP 5.5.3 available Reply with quote

Quote:
The PHP development team announces the immediate availability of PHP 5.4.19 and PHP 5.5.3. These releases fix a bug in the patch for CVE-2013-4248 in OpenSSL module and compile failure with ZTS enabled in PHP 5.4, which were introduced in previously released 5.4.18 and 5.5.2.

All PHP users are encouraged to upgrade to either PHP 5.5.3 or PHP 5.4.19.

For source downloads of PHP 5.4.19 and PHP 5.5.3 please visit our downloads page:
http://www.php.net/downloads.php

Windows binaries can be found on:
http://windows.php.net/download/

The list of changes is recorded in the ChangeLog at:
http://www.php.net/ChangeLog-5.php

Regards,

Stanislav Malyshev
PHP 5.4 Release Manager
My builds are available as well.

https://dl.dropboxusercontent.com/u/8954372/php-5.5.3-nts-Win32-VC11-x86.zip
https://dl.dropboxusercontent.com/u/8954372/php-5.5.3-Win32-VC11-x86.zip
https://dl.dropboxusercontent.com/u/8954372/php-5.5.3-nts-Win32-VC11-x64.zip
https://dl.dropboxusercontent.com/u/8954372/php-5.5.3-Win32-VC11-x64.zip

https://dl.dropboxusercontent.com/u/8954372/php-5.4.19-nts-Win32-VC9-x86.zip
https://dl.dropboxusercontent.com/u/8954372/php-5.4.19-Win32-VC9-x86.zip
https://dl.dropboxusercontent.com/u/8954372/php-5.4.19-nts-Win32-VC9-x64.zip
https://dl.dropboxusercontent.com/u/8954372/php-5.4.19-Win32-VC9-x64.zip

Jan
Back to top
Lakys



Joined: 23 Aug 2013
Posts: 2
Location: Lyon

PostPosted: Mon 26 Aug '13 17:41    Post subject: Reply with quote

Hi Jan-E,
thank you so much for all those great builds, it really helps.

I have some issues loading the Imagick extension using the latest PHP 5.5.3 NTS x64 VC11 pack you provided. It crashes PHP without giving any notification or log.

Is your own setup working with that extension loaded with PHP5.5? Say at least displaying in phpinfo?

It was working fine with PHP 5.4. I'm not sure what I did wrong.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Tue 27 Aug '13 23:37    Post subject: Reply with quote

See http://x32.elijst.nl/phpinfo.php55nts64

Imagick shows up. It did not test it, but it should work. Most likely problem: a path setting that finds the x86 CORE*.dll first or does not find any CORE*.dll files.

Try putting all the x64 CORE*.dll in the directory with php.exe. Open a DOS prompt (Run 'CMD'), navigate to the directory with php.exe and type 'php -m'. This will either show imagick as one of the modules or provide you with the info what is wrong, I think.

Edit: Sometimes the error message when running 'php -m' is unclear. "This is not a valid Win32 application" means you try running 32-bits DLL's with a 640bit PHP or the other way around.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Wed 28 Aug '13 14:59    Post subject: Reply with quote

I have added still more extensions to the builds (same URLs). Among them is one that is not yet published on pecl.php.net. But I found the extension interestingly enough to promote it.

php_crypto.dll: a wrapper around Openssl.

Sources and some documentation:
https://github.com/bukka/php-crypto

In the words of the author, Jakub Zelenka:

Quote:
If anyone wants to help, I will be more than happy. OpenSSL has lots of interesting functions and it would be great if they were available in PHP.

I am not a cryptography expert so if you have any ideas what would be useful, feel free to create a new issue in
https://github.com/bukka/php-crypto/issues

If you want to help with implementation, it's even better. But as I said I will be happy for any help... Wink
Back to top
pjduplooy



Joined: 12 May 2012
Posts: 11

PostPosted: Thu 29 Aug '13 20:44    Post subject: PHP 5.4 and extensions. Reply with quote

Jan-E

Thanks for all your hard work!!.

If I could ask a favour? Suhosin for php 5.4 seems not ok, (Roundcube does not work with it), so there is a fork available of suhosin at https://github.com/blino/suhosin.

It fixes the following: Fix saving sessions in PHP 5.4 with user session handlers (fix #12)

When session storage functions are set with session_set_save_handler()
(this is the "mod_user" mode), mod_data will be NULL in PHP 5.4, and
suhosin session hooks will bail out.
PHP 5.4 allows to check this with mod_user_implemented instead.

See https://github.com/blino/suhosin/commit/117b6aa6efec61afaa1431c698dad8eb553b55f5

Could you perhaps compile the sushosin extension using this source code?

I would be eternally gratefull.

Pieter
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Sat 31 Aug '13 15:31    Post subject: Reply with quote

Blino's fork did not compile with PHP 5.4:
Code:
ext\suhosin\rfc1867.c(1236) : error C2039: 'magic_quotes_gpc' : is not a member of '_php_core_globals'
main\php_globals.h(56) : see declaration of '_php_core_globals'

Looking at my code, I must have applied a patch to rfc1867.c in december 2012 to make it compile with PHP 5.4. So I applied Blino's patch to my sources and that did compile. The x86 versions of PHP 5.4 are now updated with Blino's fix.

Use it at your own risk. See this issue at Stefan Esser's github: https://github.com/stefanesser/suhosin/issues/29
Back to top
James Blond
Moderator


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

PostPosted: Sat 31 Aug '13 18:26    Post subject: Reply with quote

Just to be said, the php dev wanna kick Suhosin.
Back to top
pjduplooy



Joined: 12 May 2012
Posts: 11

PostPosted: Sun 01 Sep '13 11:57    Post subject: Reply with quote

Jan-E.

Thanks for the feedback. I have mixed feelings about suhosin, I feel about it as if it has been a naughty child in some ways.

Any idea of when a 64 bit version will be out? or is that the one that did not compile?

Pieter
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Sun 01 Sep '13 14:15    Post subject: Reply with quote

I have already rebuild and uploaded the PHP 5.4 x64 versions.
Back to top
Lakys



Joined: 23 Aug 2013
Posts: 2
Location: Lyon

PostPosted: Thu 26 Sep '13 11:14    Post subject: Reply with quote

Jan-E wrote:
See http://x32.elijst.nl/phpinfo.php55nts64

Imagick shows up. It did not test it, but it should work. Most likely problem: a path setting that finds the x86 CORE*.dll first or does not find any CORE*.dll files.

Try putting all the x64 CORE*.dll in the directory with php.exe. Open a DOS prompt (Run 'CMD'), navigate to the directory with php.exe and type 'php -m'. This will either show imagick as one of the modules or provide you with the info what is wrong, I think.

Edit: Sometimes the error message when running 'php -m' is unclear. "This is not a valid Win32 application" means you try running 32-bits DLL's with a 640bit PHP or the other way around.


Hi Jan-E,

I have run some new tests with PHP 5.5.4. I'm still getting the same issue. When I use the command php -m, I have no error showing up.
But whenever the Imagick module on, it crashes IIS8, with no clue.
On the very same server, it works well with a PHP 5.4.12 NTS x64.

So I suppose the install is ok, but something goes wrong with VC11 or PHP 5.5.

I know those builds are meant for Apache. But so far they work pretty well with IIS. Smile

Thanks for your assistance.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Sun 29 Sep '13 16:03    Post subject: Reply with quote

Try the official PHP build:
http://windows.php.net/downloads/pecl/releases/imagick/3.1.2/
Back to top


Reply to topic   Topic: PHP 5.4.19 and PHP 5.5.3 available View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads