-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
PHP72: Exceptions if php-openssl isn't installed #30337
Comments
My bad. I think this is a different issue. My PR just corrects the exception type so that it is caught in certain circumstances, but I think this is different. |
@Kondou-ger |
@patrickjahns That was it! What a mean way of telling you "Please install the php-openssl extension". |
In php7.2 a couple of things with packages changed - need to see if we can reliably check that this is missing in installations with < php7.2 |
@Kondou-ger |
@patrickjahns |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Do I understand it correctly that PHP 7.2 doesn't use openssl any more and moved to some other lib ? If yes, then it makes sense to not enforce openssl any more with hard-coded checks. |
Libsodium replace mcrypt |
openssl is still cool, mcrypt is not. |
What would we need to do, to better address this issue? Prevent installation if library is not available ? |
documentation not enough ? owncloud-archive/documentation#4422 |
As pointed out in my blog post: double check that all required modules are installed. Closed therefor |
When using PHP72 sessions blow up.
When the session cookie (instance-id) is set you get an exception.
The DAV client still works though (since it doesn't use sessions I suppose).
If I remove the "Session closed" line in /lib/private/Session/Memory.php#119 I instead get a CSRF error "You took too long to log in" message, when trying to log in (but no exception, at least).
Everything works fine with php 7.1.13.
Server configuration
Operating system:
openSUSE rolling release
Web server:
nginx 1.12.1
Database:
postgres 10.1
PHP version:
PHP 7.2.1
ownCloud version: (see ownCloud admin page)
10.0.6.1
Updated from an older ownCloud or fresh install:
updated
Where did you install ownCloud from:
owncloud.org ZIP
The content of config/config.php:
List of activated apps:
The text was updated successfully, but these errors were encountered: