-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.8.6] Session handler apc not available with PHP >= 7.0 #19940
Comments
PHP's The original APC extension was in essence deprecated and abandoned at PHP 5.5 in favor of OPCache and APCu became the de facto continuation of this. IIRC there is still an |
Thanks for the quick answer. So I guess this will be little bit more complicated as I thought. As far as I understand, we do need new handler, because all Would we really need two handler |
The APC handler has been there for a long time, and will be dropped in 4.0 since support for that extension is dead. We just never got around to adding an APCu handler in the session API (it was done for the cache API though). And as you found, in the Framework's Session package we did clean things up and make a proper APCu handler. So honestly it's just one of those things where nobody did the work to add that support.
If I'm not mistaken PHP's |
See #19990 |
Hello,
I am not really new with Joomla!. But this is my first issue here and also the first time that I am contributing to this project.
So I am sorry for my bad English and please be patiently with me if I get something wrong.
It's not possible to choose apc as session handler if you are running php >= 7.0
I think this is caused by
libraries/vendor/joomla/session/Joomla/Session/Storage/Apc.php
,which this function has for detecting apc/apcu:
To support php >= 7.0 it should be:
Or we need an extra handler like already done in Joomla 4 with
libraries/vendor/joomla/session/src/Handler/ApcHandler.php
Best regards
Felix
The text was updated successfully, but these errors were encountered: