# PHP 7.0.0alpha1 Released for Testing!

- Thread: https://externals.io/message/86605
- Original archive: https://news-web.php.net/php.internals/86605
- Started by ab@php.net on 2015-06-12T00:53:48+00:00
- Messages: 24
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #86605 — ab@php.net — 2015-06-12T00:53:48+00:00

URL: https://externals.io/message/86605#86605

Hi,

The first alpha for 7.0.0 was just released and can be downloaded from:

https://downloads.php.net/~ab/

The Windows binaries are available at

http://windows.php.net/qa/

This is the start of a new PHP era! Thanks everyone who made and helped
to make this happen. From now on we are looking straight forward to get
the final in time.

Please test it carefully, and report any bugs in the bug system.
Alpha 2 will be tagged on Tuesday 23th and released on Thursday 25th.

Regards,
    Kalle Sommer Nielsen, Anatol Belski and Ferenc Kovacs

---

## #86610 — marius adrian popa — 2015-06-12T06:08:25+00:00

URL: https://externals.io/message/86605#86610 · In reply to: #86605

Firebird related extensions are missing from PHP 7 windows binaries



> Hi,
>
> The first alpha for 7.0.0 was just released and can be downloaded from:
>
> https://downloads.php.net/~ab/
>
> The Windows binaries are available at
>
> http://windows.php.net/qa/
>
> This is the start of a new PHP era! Thanks everyone who made and helped
> to make this happen. From now on we are looking straight forward to get
> the final in time.
>
> Please test it carefully, and report any bugs in the bug system.
> Alpha 2 will be tagged on Tuesday 23th and released on Thursday 25th.
>
> Regards,
>     Kalle Sommer Nielsen, Anatol Belski and Ferenc Kovacs

---

## #86611 — Ferenc Kovacs — 2015-06-12T06:26:23+00:00

URL: https://externals.io/message/86605#86611 · In reply to: #86610

2015.06.12. 8:09 ezt írta ("marius adrian popa" <mapopa@gmail.com>):
>
> Firebird related extensions are missing from PHP 7 windows binaries
>

Ccing Stephen who is in charge of the windows builds.

---

## #86612 — Martin Keckeis — 2015-06-12T06:34:49+00:00

URL: https://externals.io/message/86605#86612 · In reply to: #86605

Hello,


2015-06-12 2:53 GMT+02:00 <ab@php.net>:

> Hi,
>
> The first alpha for 7.0.0 was just released and can be downloaded from:
>
> https://downloads.php.net/~ab/
>
> The Windows binaries are available at
>
> http://windows.php.net/qa/
>
> This is the start of a new PHP era! Thanks everyone who made and helped
> to make this happen. From now on we are looking straight forward to get
> the final in time.
>
> Please test it carefully, and report any bugs in the bug system.
> Alpha 2 will be tagged on Tuesday 23th and released on Thursday 25th.
>
> Regards,
>     Kalle Sommer Nielsen, Anatol Belski and Ferenc Kovacs
>
>
> --
> 
> 
>
>
For WINDOWS installation:
If you see the error message: VCRUNTIME140.dll is missing, you need to
install the "Visual C++ Redistributable Package for Visual Studio 2015"

Get it here: http://www.microsoft.com/en-us/download/details.aspx?id=46881

If you have error on installation of the package, please check this article
(i used the "Microsoft fix it tool 50202" and then it worked)
https://social.technet.microsoft.com/Forums/windows/en-US/5728fc8d-4ba7-4d08-994a-2144b79a8f96/windows-update-wont-work?forum=w7itprogeneral

---

## #86615 — Jordi Boggiano — 2015-06-12T13:02:56+00:00

URL: https://externals.io/message/86605#86615 · In reply to: #86605

> The first alpha for 7.0.0 was just released and can be downloaded from:
>
> https://downloads.php.net/~ab/
>
> The Windows binaries are available at
>
> http://windows.php.net/qa/

Yay!

Thanks to everyone involved.

Composer test suite passing and in -50% runtime than 5.6 which I can't 
complain about :)

Cheers

---

## #86616 — Rowan Lewis — 2015-06-12T13:56:15+00:00

URL: https://externals.io/message/86605#86616 · In reply to: #86615

Just a heads up that the download link does not work under Firefox because
in recent versions they started blocking TLS connections. Works fine as
boring old HTTP though.

Very excited to package this up on Arch.

Cheers.



> 
>
> > […]
>
> Yay!
>
> Thanks to everyone involved.
>
> Composer test suite passing and in -50% runtime than 5.6 which I can't
> complain about :)
>
> Cheers

---

## #86617 — Ferenc Kovacs — 2015-06-12T14:11:47+00:00

URL: https://externals.io/message/86605#86617 · In reply to: #86616

> Just a heads up that the download link does not work under Firefox because
> in recent versions they started blocking TLS connections. Works fine as
> boring old HTTP though.
>
> Very excited to package this up on Arch.
>
> Cheers.


hi,

can you still reproduce the problem? (I've tweaked the ssl settings there,
it was a bit too strict)

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #86618 — Rowan Lewis — 2015-06-12T15:19:45+00:00

URL: https://externals.io/message/86605#86618 · In reply to: #86617

Thanks Ferenc, that's working now.



>
>
> 
>
> > […]
>
>
> hi,
>
> can you still reproduce the problem? (I've tweaked the ssl settings there,
> it was a bit too strict)
>
> --
> Ferenc Kovács
> @Tyr43l - http://tyrael.hu

---

## #86619 — Jan Ehrhardt — 2015-06-12T18:32:03+00:00

URL: https://externals.io/message/86605#86619 · In reply to: #86610

marius adrian popa in php.internals (Fri, 12 Jun 2015 09:08:25 +0300):
>Firebird related extensions are missing from PHP 7 windows binaries

Try my builds:
https://www.apachelounge.com/viewtopic.php?p=30718#30718

The firebird extensions are there, as you can see in
https://phpdev.toolsforresearch.com/php-7.0.0alpha1-nts-Win32-VC14-x64.htm

Jan

---

## #86620 — Benoit Schildknecht — 2015-06-12T19:19:20+00:00

URL: https://externals.io/message/86605#86620 · In reply to: #86605

Le Fri, 12 Jun 2015 02:53:48 +0200, <ab@php.net> a écrit:

> Hi,
>
> The first alpha for 7.0.0 was just released and can be downloaded from:
>
> https://downloads.php.net/~ab/
>
> The Windows binaries are available at
>
> http://windows.php.net/qa/
>
> This is the start of a new PHP era! Thanks everyone who made and helped
> to make this happen. From now on we are looking straight forward to get
> the final in time.
>
> Please test it carefully, and report any bugs in the bug system.
> Alpha 2 will be tagged on Tuesday 23th and released on Thursday 25th.
>
> Regards,
>     Kalle Sommer Nielsen, Anatol Belski and Ferenc Kovacs
>
Hi,

The php7apache2_4.dll is not included with the x86 TS windows binaries,  
and the one from the snaps doesn't work, it makes my Apache crash :(

Regards.

---

## #86621 — Anatol Belski — 2015-06-12T19:30:45+00:00

URL: https://externals.io/message/86605#86621 · In reply to: #86610

Hi Marius Adrian,

 

Thanks for noticing. The builds was just repackaged. It is not a release but a build issue.

 

Regards

 

Anatol

 

From: marius adrian popa [mailto:mapopa@gmail.com] 
Sent: Friday, June 12, 2015 8:08 AM
To: ab@php.net
Cc: PHP Developers Mailing List
Subject: Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

 

Firebird related extensions are missing from PHP 7 windows binaries 

 



Hi,

The first alpha for 7.0.0 was just released and can be downloaded from:

https://downloads.php.net/~ab/

The Windows binaries are available at

http://windows.php.net/qa/

This is the start of a new PHP era! Thanks everyone who made and helped
to make this happen. From now on we are looking straight forward to get
the final in time.

Please test it carefully, and report any bugs in the bug system.
Alpha 2 will be tagged on Tuesday 23th and released on Thursday 25th.

Regards,
    Kalle Sommer Nielsen, Anatol Belski and Ferenc Kovacs

---

## #86622 — Anatol Belski — 2015-06-12T19:32:00+00:00

URL: https://externals.io/message/86605#86622 · In reply to: #86620

Hi Benoit,

The builds was just repackaged, please redownload.

Thanks

> -----Original Message-----
> From: Benoit Schildknecht [mailto:bensor987@neuf.fr]
> Sent: Friday, June 12, 2015 9:19 PM
> To: internals@lists.php.net
> Subject: [PHP-DEV] Re: PHP 7.0.0alpha1 Released for Testing!
> 
> Le Fri, 12 Jun 2015 02:53:48 +0200, <ab@php.net> a écrit:
> 
> > […]
> Hi,
> 
> The php7apache2_4.dll is not included with the x86 TS windows binaries, and the
> one from the snaps doesn't work, it makes my Apache crash :(
> 
> Regards.
> 
> --
>  To unsubscribe, visit:
> http://www.php.net/unsub.php

---

## #86623 — Benoit Schildknecht — 2015-06-12T19:51:26+00:00

URL: https://externals.io/message/86605#86623 · In reply to: #86622

Hi Anatol,

Thanks, it works like a charm :) And I had to install the x86 version of  
VS2015 (I had the x64 version only).

Regards,

Le Fri, 12 Jun 2015 21:32:00 +0200, "Anatol Belski"  
<anatol.php@belski.net> a écrit:

> Hi Benoit,
>
> The builds was just repackaged, please redownload.
>
> Thanks
>
> > […]
>
>


-- 
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/

---

## #86624 — Anatol Belski — 2015-06-12T20:08:26+00:00

URL: https://externals.io/message/86605#86624 · In reply to: #86615

Hi Jordi,

> -----Original Message-----
> From: Jordi Boggiano [mailto:j.boggiano@seld.be]
> Sent: Friday, June 12, 2015 3:03 PM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!
> 
> 
> > […]
> 
> Yay!
> 
> Thanks to everyone involved.
> 
> Composer test suite passing and in -50% runtime than 5.6 which I can't
complain
> about :)
> 
Thanks for the feedback. It's a good and an important sign :)

Regards

Anatol

---

## #86625 — Rasmus Lerdorf — 2015-06-12T20:13:16+00:00

URL: https://externals.io/message/86605#86625 · In reply to: #86624

> Hi Jordi,
> 
> > […]
> complain
> > […]
> Thanks for the feedback. It's a good and an important sign :)

You can get even more speed by compiling with --enable-opcache-file and
then in your php-cli.ini add:

    opcache.enable_cli=1
    opcache.file_cache=/var/tmp
    opcache.file_cache_only=1

Then every time you run composer it won't have to recompile everything.

-Rasmus

---

## #86627 — Jefferson Gonzalez — 2015-06-13T19:04:30+00:00

URL: https://externals.io/message/86605#86627 · In reply to: #86625

> You can get even more speed by compiling with --enable-opcache-file and
> then in your php-cli.ini add:
>
>      opcache.enable_cli=1
>      opcache.file_cache=/var/tmp
>      opcache.file_cache_only=1
>
> Then every time you run composer it won't have to recompile everything.
>
> -Rasmus
>

Thats a pretty neat feature, but I was thinking why not make something 
similar to what python did, where .pyc files where generated on the same 
path of .py files with the opcodes. So maybe a new ini option can be 
introduced like opcache.file_local=On. When this option is turned on the 
opcache would check if myscript.phpc exists before compiling 
myscript.php, if the .phpc file doesn't exists then it generates the 
opcodes .phpc version. If no write permissions are available for current 
directory then php would just skip the .phpc generation.

One advantage of this is that if PHP is run on cgi mode (not 
fast-cgi/fpm) you could still get the advantages of opcode caching on a 
multiple virtual host environment. It would also be easier to setup.

---

## #86628 — Thomas Bley — 2015-06-13T20:17:46+00:00

URL: https://externals.io/message/86605#86628 · In reply to: #86627

Jefferson Gonzalez schrieb am 13. Juni 2015 21:04:

> 
> > […]
> 
> Thats a pretty neat feature, but I was thinking why not make something 
> similar to what python did, where .pyc files where generated on the same 
> path of .py files with the opcodes. So maybe a new ini option can be 
> introduced like opcache.file_local=On. When this option is turned on the 
> opcache would check if myscript.phpc exists before compiling 
> myscript.php, if the .phpc file doesn't exists then it generates the 
> opcodes .phpc version. If no write permissions are available for current 
> directory then php would just skip the .phpc generation.
> 
> One advantage of this is that if PHP is run on cgi mode (not 
> fast-cgi/fpm) you could still get the advantages of opcode caching on a 
> multiple virtual host environment. It would also be easier to setup.
> 
> -- 
> 
> 
> 

with a separate directory you can use tmpfs which is better I think. Great new feature!

Regards
Thomas

---

## #86629 — Jan Ehrhardt — 2015-06-13T21:54:02+00:00

URL: https://externals.io/message/86605#86629 · In reply to: #86625

Rasmus Lerdorf in php.internals (Fri, 12 Jun 2015 13:13:16 -0700):
>You can get even more speed by compiling with --enable-opcache-file and
>then in your php-cli.ini add:
>
>    opcache.enable_cli=1
>    opcache.file_cache=/var/tmp
>    opcache.file_cache_only=1
>
>Then every time you run composer it won't have to recompile everything.

I saw something referring to this in the commits. But some documentation
would be welcome. I could not find any at the obvious places:
http://php.net/manual/en/opcache.configuration.php
https://github.com/zendtech/ZendOptimizerPlus

Is this documented elsewhere?
-- 
Jan

---

## #86630 — Rasmus Lerdorf — 2015-06-13T23:14:37+00:00

URL: https://externals.io/message/86605#86630 · In reply to: #86629

> 
> 
> Rasmus Lerdorf in php.internals (Fri, 12 Jun 2015 13:13:16 -0700):
> > […]
> 
> I saw something referring to this in the commits. But some documentation
> would be welcome. I could not find any at the obvious places:
> http://php.net/manual/en/opcache.configuration.php
> https://github.com/zendtech/ZendOptimizerPlus
> 
> Is this documented elsewhere?

No, not yet. It is rather new and untested. And not enabled by default. There are still a few minor issues with it, but we need a few more people playing with it so we can work through those which is why I am suggesting folks here give it a try before we document and push it more broadly.

-Rasmus

---

## #86640 — Jan Ehrhardt — 2015-06-14T18:11:01+00:00

URL: https://externals.io/message/86605#86640 · In reply to: #86630

Rasmus Lerdorf in php.internals (Sat, 13 Jun 2015 16:14:37 -0700):
> > […]
>
>No, not yet. It is rather new and untested. And not enabled by default.
>There are still a few minor issues with it, but we need a few more
>people playing with it so we can work through those which is why I am
>suggesting folks here give it a try before we document and push it more
>broadly.

OK, I recmpiled my Windows builds with --enable-opcache-file:
https://www.apachelounge.com/viewtopic.php?p=30718#30718

Example of a generated `phpinfo()`:
https://phpdev.toolsforresearch.com/php-7.0.0alpha1-nts-Win32-VC14-x64.htm

Maybe some Windows guys also want to test it.
-- 
Jan

---

## #86641 — Anatol Belski — 2015-06-14T18:45:24+00:00

URL: https://externals.io/message/86605#86641 · In reply to: #86640

Hi Jan,

> -----Original Message-----
> From: Jan Ehrhardt [mailto:phpdev@ehrhardt.nl]
> Sent: Sunday, June 14, 2015 8:11 PM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!
> 
> Rasmus Lerdorf in php.internals (Sat, 13 Jun 2015 16:14:37 -0700):
> > […]
everything.
> > […]
places:
> > […]
> 
> OK, I recmpiled my Windows builds with --enable-opcache-file:
> https://www.apachelounge.com/viewtopic.php?p=30718#30718
> 
> Example of a generated `phpinfo()`:
> https://phpdev.toolsforresearch.com/php-7.0.0alpha1-nts-Win32-VC14-
> x64.htm
> 
It is by default on in the snapshot build, so is it in alpha1.

Regards

Anatol

---

## #86667 — Jan Ehrhardt — 2015-06-15T16:29:28+00:00

URL: https://externals.io/message/86605#86667 · In reply to: #86641

"Anatol Belski" in php.internals (Sun, 14 Jun 2015 20:45:24 +0200):
>Hi Jan,
>
> > […]
>It is by default on in the snapshot build, so is it in alpha1.

You are right. I forgot how much the snapshot build forces
automatically. Anyway, I still had to recompile my builds because of the
OpenSSL updates.

And sometimes the snapshot build is too aggressive. For instance, I saw
that Xinchen was busy with the msgpack extension for PHP7. I added the
sources to /ext besides the core extensions and the snapshot build
automatically assumed it had to be compiled static into PHP7. See my
comment:

https://github.com/msgpack/msgpack-php/commit/1d6d3935819fc1166a6a847f6267ebdee9dffffa#commitcomment-11678776

BTW: libssh2 also has an update.

Jan

---

## #86674 — Anatol Belski — 2015-06-15T20:14:41+00:00

URL: https://externals.io/message/86605#86674 · In reply to: #86667

Hi Jan,

> -----Original Message-----
> From: Jan Ehrhardt [mailto:phpdev@ehrhardt.nl]
> Sent: Monday, June 15, 2015 6:29 PM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!
> 
> "Anatol Belski" in php.internals (Sun, 14 Jun 2015 20:45:24 +0200):
> > […]
> 
> You are right. I forgot how much the snapshot build forces automatically.
> Anyway, I still had to recompile my builds because of the OpenSSL updates.
> 
> And sometimes the snapshot build is too aggressive. For instance, I saw
that
> Xinchen was busy with the msgpack extension for PHP7. I added the sources
to
> /ext besides the core extensions and the snapshot build automatically
assumed
> it had to be compiled static into PHP7. See my
> comment:
> 
> https://github.com/msgpack/msgpack-
> php/commit/1d6d3935819fc1166a6a847f6267ebdee9dffffa#commitcomment-
> 11678776
> 
> BTW: libssh2 also has an update.
> 
Thanks for the info. It's planned to do full dependencies rebuild once
VS2015 goes final.

Regards

Anatol

---

## #86689 — Jan Ehrhardt — 2015-06-15T22:19:19+00:00

URL: https://externals.io/message/86605#86689 · In reply to: #86674

"Anatol Belski" in php.internals (Mon, 15 Jun 2015 22:14:41 +0200):
> > […]
> 
>Thanks for the info. It's planned to do full dependencies rebuild once
>VS2015 goes final.

Some remarks:
OpenSSL 1.0.1o and 1.0.2c have a problem when 'Require SSL' is used for
connecting to a MySQL server. See
http://www.apachelounge.com/viewtopic.php?p=30772#30772
http://comments.gmane.org/gmane.comp.encryption.openssl.devel/29616
This is a problem MySQL has to solve.

libevent 2.1.5-beta can simply be compiled with CMake. php_http.dll uses
it if it is found.

Are you planning to upgrade libpng to the 1.6 series (for php_gd2.dll)?
The 1.5 series is rapidly becoming obsolete.

OpenLDAP can be upgraded from 2.4.33 to 2.4.40.

ImageMagick can be upgraded to ImageMagick 6.9.1-4.

Jan
