Php 7.1.12, 7.0.26

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
905
Location
🇳🇱
http://www.php.net/downloads.php

http://nl1.php.net/index.php#id2017-11-24-1

The PHP development team announces the immediate availability of PHP 7.1.12. This is a bugfix release, with several bug fixes included. All PHP 7.1 users are encouraged to upgrade to this version.

For source downloads of PHP 7.1.12 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
 
Just a heads up that there is problems with PHP 7.1.12 (and possibly PHP 7.0.26 also, but I don't know about 7.0.26).

I am using opcache and PHP-FPM

After upgrade to PHP 7.1.12 several PHP sites did not work anymore, they gave this error in apache error log:

Code:
Sun Nov 26 12:00:53.161278 2017] [proxy_fcgi:error] [pid 25870:tid 139679914243840] [client 176.74.214.18:8405] AH01067: Failed to read FastCGI header

[Sun Nov 26 12:00:53.161304 2017] [proxy_fcgi:error] [pid 25870:tid 139679914243840] (104)Connection reset by peer: [client 176.74.214.18:8405] AH01075: Error dispatching request to :

And the PHP pages was completely down. Also at first most of the PHP sites did work, but after some minutes more and more sites startet to go down.

After downgrade to PHP 7.1.11 this was resolved. Please comment here if you have information about what the cause is. I notice one thing in PHP info page before upgrade I had plenty free interned strings memory in opcache, but after upgrade I had almost nothing free interned strings memory, like this:

With PHP 7.1.11:
Code:
Interned Strings Used memory	369608
Interned Strings Free memory	3824696

After upgrade to PHP 7.1.12:
Code:
Interned Strings Used memory	4194272
Interned Strings Free memory	32

It might be related, or not, I don't know.
 
Also I can mention that I run PHP-FPM in dynamic mode, and not the default ondemand mode. However I don't think it matters in this case.
 
Also after upgrade the php-fpm.log has a lot of warnings like this for every user:

Code:
[26-Nov-2017 11:52:04] NOTICE: [pool USERNAME] child 25329 started

[26-Nov-2017 11:52:04] WARNING: [pool USERNAME] child 24302 exited on signal 11 (SIGSEGV) after 1.864571 seconds from start
 
That's weird, I don't have any issues with fpm.. :

Interned Strings Used memory 1935176
Interned Strings Free memory 6453432

Did you see any errors when building 7.1.12?
 
I have pinpointed the problem to be related to opcache.file_cache=. I was using both opcache in memory ond physical file cache in opcache, as soon as I deactivated physical file cache by removing opcache.file_cache=... from settings, then PHP 7.1.12 no longer seem to crash. I have posted about that in a new comment in my bug report at https://bugs.php.net/bug.php?id=75579 - however it does not seem to be anyone that have looked into my report yet. I can only hope some PHP developers soon will look into this.
 
Back
Top