Bug #86992
closedProblems with PHP 7.2.11
0%
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
Updated by Benni Mack over 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?
Updated by Ivo Frieden over 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
Updated by Riccardo De Contardi over 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 about 5 years ago
- File !1.jpg !1.jpg added
- File !2.jpg !2.jpg added
- File !3.jpg !3.jpg added
- File !4.jpg !4.jpg added
- File !5.jpg !5.jpg added
- File !6.jpg !6.jpg added
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
Updated by Riccardo De Contardi about 5 years ago
- Status changed from Needs Feedback to New
Updated by Benni Mack almost 5 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.
Updated by Benni Mack almost 5 years ago
- Status changed from New to Needs Feedback
Updated by Susanne Moog over 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.