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.6.x, 5.5.x Release Candidates
Author
Jan-E



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

PostPosted: Mon 15 Sep '14 2:14    Post subject: PHP 5.6.x, 5.5.x Release Candidates Reply with quote

Two weeks before a release the PHP devs always publish Release Candidates at http://windows.php.net/qa/

I am building these RC1's myself and use them on my laptop and development server. If you want to do the same, here are my builds:

https://phpdev.toolsforresearch.com/php-5.6.10RC1-nts-Win32-VC11-x86.zip
https://phpdev.toolsforresearch.com/php-5.6.10RC1-Win32-VC11-x86.zip
https://phpdev.toolsforresearch.com/php-5.6.10RC1-nts-Win32-VC11-x64.zip
https://phpdev.toolsforresearch.com/php-5.6.10RC1-Win32-VC11-x64.zip

https://phpdev.toolsforresearch.com/php-5.5.26RC1-nts-Win32-VC11-x86.zip
https://phpdev.toolsforresearch.com/php-5.5.26RC1-Win32-VC11-x86.zip
https://phpdev.toolsforresearch.com/php-5.5.26RC1-nts-Win32-VC11-x64.zip
https://phpdev.toolsforresearch.com/php-5.5.26RC1-Win32-VC11-x64.zip

The extensions in my 5.5.x & 5.6.x builds can be mixed with the php.net binaries.

I will update this post when new RC's are published on php.net

Edit 2014-10-31: changed the link to 5.6.3RC1 and 5.5.19RC1.

Edit 2014-12-07: versions bumped to 5.6.4RC1 and 5.5.20RC1. Removed the 5.4 RC, because there probably will be no new 5.4 RC's anymore.

Edit 2015-01-12: changed the link to 5.6.5RC1 and 5.5.21RC1.

Edit 2015-02-14: bumped the versions to 5.6.6RC1 and 5.5.22RC1.

Edit 2015-03-09: bumped the versions to 5.6.7RC1 and 5.5.23RC1.

Edit 2015-04-03: bumped the versions to 5.6.8RC1 and 5.5.24RC1.

Edit 2015-05-03: bumped the versions to 5.6.9RC1 and 5.5.25RC1.

Edit 2015-06-08: bumped the versions to 5.6.10RC1 and 5.5.26RC1.


Last edited by Jan-E on Mon 08 Jun '15 22:06; edited 6 times in total
Back to top
Jan-E



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

PostPosted: Sun 07 Dec '14 2:27    Post subject: Reply with quote

I removed the links to the 5.4 RC, because 5.4 will only get security fixes without any Release Candidate. Maybe there will be a last RC when 5.4 is really at end-of-life.
Back to top
jimski



Joined: 18 Jan 2014
Posts: 196
Location: USSA

PostPosted: Sun 07 Dec '14 14:59    Post subject: Reply with quote

Hi Jan-E, are your php_av.dll builds in those releases compatible with the latest version of ffmpeg?

In your last releases the AV extension was not compatible with the latest ffmpeg because ffmpeg renamed their dlls.

The latest versions of ffmpeg include avcodec56.dll while php_av.dll expects the avcodec55.dll and would not start unless the ffmpeg was downgraded to an older version.
Back to top
jimski



Joined: 18 Jan 2014
Posts: 196
Location: USSA

PostPosted: Sun 07 Dec '14 15:00    Post subject: Reply with quote

The latest version of ffmpeg compatible with your last release of av was dated Aug 8 2014.
Back to top
Jan-E



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

PostPosted: Tue 09 Dec '14 0:43    Post subject: Reply with quote

jimski wrote:
Hi Jan-E, are your php_av.dll builds in those releases compatible with the latest version of ffmpeg?
Yes. I also updated the 5.3 and 5.4 builds.
Back to top
jimski



Joined: 18 Jan 2014
Posts: 196
Location: USSA

PostPosted: Fri 12 Dec '14 3:07    Post subject: Reply with quote

Great, thank you. The AV extension seems to be flying under the radar but it looks like a very good addition to the php extensions library.
Back to top
Jan-E



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

PostPosted: Fri 12 Dec '14 3:55    Post subject: Reply with quote

The reason why I started compiling PHP at all was php_ffmpeg.dll. I had to make sense of http://translate.google.com/translate?hl=en&sl=ru&tl=en&u=http%3A%2F%2Fsergey89.ru%2Fnotes%2Fffmpeg-php-windows%2F (in a far worse translation than it is nowadays). That was back in July 2011..

I am still using php_ffmpeg.dll to make thumbnails of videofiles, but there will be a time when I will have to switch to php_av.dll.

What are you using php_av.dll for?

BTW: 5.6.4 & 5.5.20 are out.
Back to top
jimski



Joined: 18 Jan 2014
Posts: 196
Location: USSA

PostPosted: Thu 25 Dec '14 9:58    Post subject: Reply with quote

Right now I'm preparing for a beta test of a large multimedia website. I'm using ffmpeg the old way as a system call but this makes the code system dependent. Because I'm developing on Windows and deploying on Linux I always look for ways to make the code as much portable as possible and AV extension could be one of the ways to make video conversion code more portable. I also like the simplicity and again AV is simple and easy to use.
Back to top
C0nw0nk



Joined: 07 Oct 2013
Posts: 241
Location: United Kingdom, London

PostPosted: Sun 11 Jan '15 1:52    Post subject: Reply with quote

jimski wrote:
Right now I'm preparing for a beta test of a large multimedia website. I'm using ffmpeg the old way as a system call but this makes the code system dependent. Because I'm developing on Windows and deploying on Linux I always look for ways to make the code as much portable as possible and AV extension could be one of the ways to make video conversion code more portable. I also like the simplicity and again AV is simple and easy to use.


I run a few high traffic multimedia sites and my advice on this is be as non dependant on third party extensions and plugins as possible the smallest change can effect the way everything works.

If you take my advice on this make your code only need to use the imagick software via command line (not the php extension) and ffmpeg via command line not third party extensions. The problem when you reach large scale is you may find if these developers stop working on the extension or it becomes a loss / dead end unmaintained like so many in the past, future php versions will not use so you then have a new problem that you cant upgrade without rebuilding your sites infastructure all allot of work and with a high traffic site you cant put it offline to do so either. And depending on if you are a php developer or know what you are doing it could cost you either allot of time or money.

So all jobs and tasks i need to carry out i do so directly using the php exec function via the command line for ffmpeg, imagick etc do not rely on third party resources you are in for a world of headache if you go down that road. Use as little as possible stay as lite as possible and everything can carry out the same jobs and you learn a thing or two and realise you dont need to load up extensions that can be slowing down your php execution times causing memory leaks etc.

Generating thumbnails getting video time stamps lengths etc i do it all via php exec without any extensions and i even generate images without the imagick php extension just by using php_exec to execute the convert.exe via the command line and i create multiple formats scales thumbnails etc of images. It is very very easy you do not need these third party extensions.
Back to top
jimski



Joined: 18 Jan 2014
Posts: 196
Location: USSA

PostPosted: Sun 11 Jan '15 9:17    Post subject: Reply with quote

C0nw0nk wrote:
I run a few high traffic multimedia sites and my advice on this is be as non dependant on third party extensions and plugins as possible the smallest change can effect the way everything works.


Hey C0nw0nk, it is a good advice. This extension was recommended for inclusion into official PHP distribution, we will see what will happen.

Apart from this extension I have a question for you but let's move the discussion to the ffmpeg thread:
https://www.apachelounge.com/viewtopic.php?t=5824
Back to top
Jan-E



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

PostPosted: Sun 03 May '15 13:16    Post subject: Reply with quote

Bumped the versions to 5.6.9RC1 and 5.5.25RC1. These builds as well as my other builds all contain cUrl 7.42.1 now.
Back to top
Smitty



Joined: 03 Jan 2008
Posts: 197

PostPosted: Mon 04 May '15 15:24    Post subject: Reply with quote

Jan-E,

Do you know if 5.6.9 contains the the latest opcache, 7.0.5? 7.0.5 fixes a bug with Moodle which I use on my website. PHP 5.6.8 still has opcache 7.0.4.

http://pecl.php.net/package-changelog.php?package=ZendOpcache&release=7.0.5
Back to top
Jan-E



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

PostPosted: Mon 04 May '15 16:06    Post subject: Reply with quote

I can see opcache in 5.6.8 identifies itself as 7.0.4-dev, but if I look at the sources, line 384 of php-5.6.8-src\ext\opcache\Optimizer\block_pass.c contains the patch:
Code:

   if (!to->protected && to->sources->next == NULL) {
      /* source to only one block */

sources:
http://windows.php.net/downloads/releases/php-5.6.8-src.zip

patch:
https://github.com/zendtech/ZendOptimizerPlus/commit/d517688b745810baafbf1325cd986af9aafe51d1

Did you install 5.6.8 and still experience segfaults?

Edit: https://github.com/php/php-src/commit/f06b3432c80e5c40678a9314d97da220d5cfd678#diff-b5519553e8033cc1f515386f4abfadcbL30
Back to top
Smitty



Joined: 03 Jan 2008
Posts: 197

PostPosted: Mon 04 May '15 21:42    Post subject: Reply with quote

I am still running 5.6.7 at the moment and was planning to upgrade to 5.6.8 tomorrow during some scheduled downtime. Thanks for checking the code and seeing that the patch is already included.
Back to top
Jan-E



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

PostPosted: Tue 05 May '15 8:58    Post subject: Reply with quote

https://github.com/php/php-src/commit/24992a14222265b30e3aa9635e630d59867f7997

PHP 5.6.9 will tell that the OPcache version is 7.0.6-dev.
Back to top
Smitty



Joined: 03 Jan 2008
Posts: 197

PostPosted: Fri 15 May '15 14:32    Post subject: Reply with quote

Odd:

Just downloaded 5.6.9 and opcache is still reporting 7.0.4. Was there a regression?
Back to top
Jan-E



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

PostPosted: Fri 15 May '15 14:52    Post subject: Reply with quote

I do not know, so I asked the devs:
https://github.com/php/php-src/commit/24992a14222265b30e3aa9635e630d59867f7997#commitcomment-11213560
Back to top
Jan-E



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

PostPosted: Fri 15 May '15 15:08    Post subject: Reply with quote

If you look at the history of the 5.6.9 branch they made only one cosmetical change after 5.6.9RC1 has been made public:
https://github.com/php/php-src/commits/PHP-5.6.9
I guess we will first see the 7.0.6-dev in 5.6.10RC1 (14 days from now).

Edit: the merges contain a lot of substantial changes, for instance for bug #69453 that has been fixed on May 12. Seems like cherry-picking.
Back to top
Jan-E



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

PostPosted: Mon 08 Jun '15 22:13    Post subject: Reply with quote

5.6.10RC1 now says it uses Zend OPcache v7.0.6-dev.
Back to top


Reply to topic   Topic: PHP 5.6.x, 5.5.x Release Candidates View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads