Project

General

Profile

Actions

Bug #86992

closed

Problems with PHP 7.2.11

Added by Ivo Frieden over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-11-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

It seems that there is a problem with PHP 7.2.11 and TYPO3.

I have updated from TYPO3 6.2.31 to TYPO3 7.6.31, as well as to TYPO3 8.7.20 and TYPO3 9.5.1.

The problem is in the extension manager where the extensions are uninstalled again after a few clicks. I have downgraded to PHP 7.1 and everything works well, but just a few clicks after the upgrade to PHP 7.2, I get a red failure mark which tells me that the connection was lost. Then, I have to clear the typo3temp directory in order to get TYPO3 again to work. After that, the extensions are just uninstalled.

Thank you for your examination.

Best regards, Ivo


Files

!1.jpg (176 KB) !1.jpg Ivo Frieden, 2019-09-29 15:06
!2.jpg (173 KB) !2.jpg Ivo Frieden, 2019-09-29 15:06
!3.jpg (129 KB) !3.jpg Ivo Frieden, 2019-09-29 15:06
!4.jpg (78.9 KB) !4.jpg Ivo Frieden, 2019-09-29 15:06
!5.jpg (34.2 KB) !5.jpg Ivo Frieden, 2019-09-29 15:06
!6.jpg (52.1 KB) !6.jpg Ivo Frieden, 2019-09-29 15:06
Actions #1

Updated by Benni Mack about 5 years ago

  • Status changed from New to Needs Feedback

This is usually bound to PHP's OpCache and existing PHP processes still checking for the old code. Is that possible?

Actions #2

Updated by Ivo Frieden about 5 years ago

Hi Benni (Grandmaster of TYPO3)

You may be right with your assumption, I have just yesterday had a similar case, but after a while, the problems have stopped and TYPO3 has worked like expected.

I can change PHP Versions in my Hosting Control Panel with one click, perhaps I have to be more patient and wait longer for the stop of any running PHP processes.

Thanks for taking my problem seriously!

Best regards, Ivo

Actions #3

Updated by Riccardo De Contardi almost 5 years ago

@Ivo Frieden Hi, I have not understood if there is still something that should be done or investigated about this issue

Updated by Ivo Frieden over 4 years ago

Hi Riccardo,

Sorry for the late answer, I just came on my own post while having the same problem again.

In the meantime, I run TYPO3 7.6.32 (while updating to 8.7.27) on PHP 7.2.22.

Attached a few screenshots for a better understanding what happens.

1 The first one shows only the system parameters.
2 The second one shows the available items in the left navigation column.
3 On the third one, I install the Recycler, but it is the same failure and procedure with every other extension.
4 After reloading the backend, or after a few clicks, the red connection problem layer appears.
5 After a second reload, or after a few more clicks, the TYPO3 Fatal Error appears, telling that the extension is not loaded.
6 After clearing all caches and the PHP opcode cache in the install tool, the backend is accessible again, but the extension, in this example the Recycler, has gone.

This happens to all extensions except the ones visible on the last screenshot (because they are system extensions?).

The same problem appears also in TYPO3 8.7.27 on PHP 7.2.22.

If helpful, I can supply additional informations, just tell me which ones and how to get them.

Best regards, Ivo

Actions #5

Updated by Riccardo De Contardi over 4 years ago

  • Status changed from Needs Feedback to New
Actions #6

Updated by Benni Mack about 4 years ago

Are you able to modify some PHP ini settings?

This is most probably related to opcache (as mentioned before). My settings look like this (where it's working)..

opcache.enable=1
opcache.enable_cli=0
opcache.memory_consumption=96
opcache.interned_strings_buffer=16
opcache.max_accelerated_files=4096
opcache.max_wasted_percentage=5
opcache.validate_timestamps=1
opcache.revalidate_path=0
opcache.revalidate_freq=2
opcache.max_file_size=0

Especially the revaliate_* things are the interesting ones.

Actions #7

Updated by Benni Mack about 4 years ago

  • Status changed from New to Needs Feedback
Actions #8

Updated by Susanne Moog about 4 years ago

  • Status changed from Needs Feedback to Closed

No feedback for some months and most likely a problem with the hosting configuration. I'm going to close the issue now - if it pops up again, feel free to comment.

Actions

Also available in: Atom PDF