Php 7 released?


#11

There's not much to be up to date about, it's just giving generalities. They were shooting for October right up until then I think... then they said November 12, but that became the last RC date... now they're going to miss November altogether if they don't get on the ball :smiley:


#12

Wikipedia links to that as the evidence to support an official release date of tomorrow even though that page doesn't give a release date. The Wikipedia page is the only place where I have been able to find 26th November listed as the official release date though. There are a few other sites that specify December as the intended release date without being any more specific.

It can't be very far off now though as there are lots of indications that RC7 is the last before the official release.


#13

Re: release. There's a critical issue holding things back.

@spacephoenix good thinking, cheers.

Edit: official statement for Dec 3rd release


#14

And I thought I liked to watch the world burn, this made me lol too


#15

On the PHP compile or not compile, this is a good video about what PHP does, when it interprets and runs your PHP code.

Scott


#16

But the last version of php 5 is not finished:

http://php.net/archive/2015.php#id2015-10-29-2

I remember the book

http://www.wrox.com/WileyCDA/WroxTitle/Professional-PHP6.productCd-0470395095.html

What happened to php6 ? https://wiki.php.net/ideas/php6

Opcache has been bundled with 5.5.0. A real integration did not happen yet while stabilizing it was the highest priority.

OPCache is preferred for efficient drupal 8 performance.

Personally I will concentrate on php 5.+ until ...

Site admins or moderators

My profile information is wrong:

Joined Aug 29, '14

search for

xml kgun site:sitepoint.com

and you will find post long before that date, I think I joined your forumun in 2005 or 2006.


#17

That is the date of the move to Discourse from vBulletin platform. Everyone who was a member before the move has the same join date.


#18

I'd give it about 5 hours, and more than 'the odd thread'.


#19

RC8 has now been released so we have to wait at least another two weeks for the official version.


#20

PHP 7 has been tagged on github, and release will be imminent.


#21

https://wiki.php.net/todo/php70#timetable still specifies tomorrow's date


#22

December 3rd people! It's a great improvement, one so great that they just skipped over PHP 6!


#23

PHP7 was officially released yesterday: http://php.net/index.php#id2015-12-03-1


#24

Yes, PHP 7 has been released and I couldn't resist testing its performance on my Windows development computer. The installation from zip was virtually the same as with PHP 5.5/5.6, I only had to install VC14-compiled Apache (which also works fine with PHP 5.6 VC11) and install a newer Visual C++ distributable, otherwise no surprises and everything worked right away.

I tested the load speed of a single page from two of my web applications - one of them is based on my home made web-MVC-like framework, the other one is based on Silex. What I tested was the entry page with a very simple login form. I used apache bench with this command:

ab -n 10 http://myapp.localhost/

App 1 - my own framework (mean time in milliseconds):

php5.6: 55.4
php5.6 opcache: 37.4 (35.5 without db)
php7: 47.9
php7 opcache: 35.7 (33.3 without db)

this page hits the postgres db once to fetch a single row - to see how much overhead the db connection has I did comparisons where I bypassed the db connection - results in the brackets.

App 2: Silex based, the login form does not hit the database:

php5.6: 78.1
php5.6 opcache: 26.5
php7: 70.9
php7 opcache: 21.1

The results are surprising to me because it is clear that opcache effectiveness depends a lot on the type of code. Silex is much larger and complex and includes many times more files than my framework and opcache is much more effective for it - to be honest I'm surprised to see that it can outperform my framework, which I always thought to be simple and theoretically should result in better performance.

Anyway, PHP 7 on Windows has some performance improvements but they don't seem huge. But considering that a large part of every request time is eaten by Apache alone I suspect that PHP speed improvements are much larger than my tests show. I think with a faster web server like nginx, the speed increase would be higher.


#25

I ran into a bit of a stumbling block at this step.

Somehow I found my way to the download page for
vcredist_x64.exe (7019KB)

I thought that was what I needed, but no joy.

When all else fails follow directions

What I needed was
VC_redist.x64.exe (14427KB)

https://www.microsoft.com/en-us/download/details.aspx?id=48145


#26

There are two versions of php7, 32 and 64 bit.
get the right version of VC_redist that matches your version of php7.

I have a really, really old version of php my admin that I like and had to fix the ereg function not found errors.
I had to enable the PDO and mySqli extensions. I use PDO and phpmyadmin uses mySqli.
Other than that, no problems.

I'm ready to put it on my next production machine,


#27

Well, it looks like I'll need to be careful uploading any of my localhost (PHP 7) code to my live site.

I just saw this (it's been a while since I checked my email) from my host

However, on January 19, 2016, PHP 5.3 and PHP 5.4 will be completely removed from our hosting environment, and all remaining sites will be migrated to PHP 5.5

May be time I get my VM to work with different versions.


#28

well neither of those has been supported for even security patches for some time now (even PHP 5.5 only has six months of security patch support left)


#29

I've just checked and my host offers a choice of PHP 4, PHP 5.2, PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6 or PHP 7 gawd 'elp us!


#30

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.