Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-15 Thread Jan Ehrhardt
Anatol Belski in php.internals (Sun, 14 Jun 2015 20:45:24 +0200):
Hi Jan,

 -Original Message-
 From: Jan Ehrhardt [mailto:php...@ehrhardt.nl]

 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.

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/1d6d3935819fc1166a6a847f6267ebdee9da#commitcomment-11678776

BTW: libssh2 also has an update.

Jan

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-15 Thread Anatol Belski
Hi Jan,

 -Original Message-
 From: Jan Ehrhardt [mailto:php...@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):
 Hi Jan,
 
  -Original Message-
  From: Jan Ehrhardt [mailto:php...@ehrhardt.nl]
 
  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-x6
  4.htm
 
 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/1d6d3935819fc1166a6a847f6267ebdee9da#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


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-15 Thread Jan Ehrhardt
Anatol Belski in php.internals (Mon, 15 Jun 2015 22:14:41 +0200):
 From: Jan Ehrhardt [mailto:php...@ehrhardt.nl]
 BTW: libssh2 also has an update.
 
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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-14 Thread Jan Ehrhardt
Rasmus Lerdorf in php.internals (Sat, 13 Jun 2015 16:14:37 -0700):
 On Jun 13, 2015, at 14:54, Jan Ehrhardt php...@ehrhardt.nl wrote:
 
 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?

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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-14 Thread Anatol Belski
Hi Jan,

 -Original Message-
 From: Jan Ehrhardt [mailto:php...@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):
  On Jun 13, 2015, at 14:54, Jan Ehrhardt php...@ehrhardt.nl wrote:
 
  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?
 
 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
 
It is by default on in the snapshot build, so is it in alpha1.

Regards

Anatol



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-13 Thread Rasmus Lerdorf
 On Jun 13, 2015, at 14:54, Jan Ehrhardt php...@ehrhardt.nl wrote:
 
 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?

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

smime.p7s
Description: S/MIME cryptographic signature


Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-13 Thread Jefferson Gonzalez

On 06/12/2015 04:13 PM, Rasmus Lerdorf wrote:

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.


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-13 Thread Thomas Bley
Jefferson Gonzalez schrieb am 13. Juni 2015 21:04:

 On 06/12/2015 04:13 PM, Rasmus Lerdorf wrote:
 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.
 
 -- 
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php
 

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

Regards
Thomas

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-13 Thread Jan Ehrhardt
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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Ferenc Kovacs
2015.06.12. 8:09 ezt írta (marius adrian popa map...@gmail.com):

 Firebird related extensions are missing from PHP 7 windows binaries


Ccing Stephen who is in charge of the windows builds.


Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Martin Keckeis
Hello,


2015-06-12 2:53 GMT+02:00 a...@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


 --
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php


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


Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread marius adrian popa
Firebird related extensions are missing from PHP 7 windows binaries

On Fri, Jun 12, 2015 at 3:53 AM, a...@php.net wrote:

 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


 --
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Jordi Boggiano

On 12/06/2015 01:53, a...@php.net wrote:

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


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Anatol Belski
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:map...@gmail.com] 
Sent: Friday, June 12, 2015 8:08 AM
To: a...@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 

 

On Fri, Jun 12, 2015 at 3:53 AM, a...@php.net mailto:a...@php.net  wrote:

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


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

 



RE: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Anatol Belski
Hi Jordi,

 -Original Message-
 From: Jordi Boggiano [mailto:j.boggi...@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!
 
 On 12/06/2015 01:53, a...@php.net wrote:
  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 :)
 
Thanks for the feedback. It's a good and an important sign :)

Regards

Anatol



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Rasmus Lerdorf
On 06/12/2015 01:08 PM, Anatol Belski wrote:
 Hi Jordi,
 
 -Original Message-
 From: Jordi Boggiano [mailto:j.boggi...@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!

 On 12/06/2015 01:53, a...@php.net wrote:
 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 :)

 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



signature.asc
Description: OpenPGP digital signature


Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Ferenc Kovacs
On Fri, Jun 12, 2015 at 3:56 PM, Rowan Lewis r...@nbsp.io wrote:

 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


Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Rowan Lewis
Thanks Ferenc, that's working now.

On Fri, Jun 12, 2015 at 4:11 PM, Ferenc Kovacs tyr...@gmail.com wrote:



 On Fri, Jun 12, 2015 at 3:56 PM, Rowan Lewis r...@nbsp.io wrote:

 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



Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Jan Ehrhardt
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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-12 Thread Rowan Lewis
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.

On Fri, Jun 12, 2015 at 3:02 PM, Jordi Boggiano j.boggi...@seld.be wrote:

 On 12/06/2015 01:53, a...@php.net wrote:

 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



 --
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php