Skip to content
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

Support for PHP 8.0 #395

Open
cjbsdigitallearning opened this issue Jan 20, 2023 · 1 comment
Open

Support for PHP 8.0 #395

cjbsdigitallearning opened this issue Jan 20, 2023 · 1 comment

Comments

@cjbsdigitallearning
Copy link

We are about to upgrade to Moodle 4.1 in late March 2023. We have been informed by our Moodle hosting partner that there may be issues with this plugin's support for PHP 8.0 and they have provided the following output. although Moodle 4.1 only requires a minimum PHP 7.4.0, our hosting provider is pushing ahead with PHP 8.0:

Line 1072: Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
Line 1072: Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
Line 1073: The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
Line 1076: The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2

Is this something you would be able to resolve for us please. I will also raise a ticket with Kaltura support linking to this issue. We are an EU/UK customer.

Best
Neil

@cjbsdigitallearning
Copy link
Author

Just an update on the above.

I asked our Moodle partner why PHP 8.0 when the minimum recommendation for Moodle 4.1 is PHP 7.4.0. This is due to the length of support, and it seems a majority of hosting providers will be going the same way to avoid having to make the shift to PHP 8.x further down the road.

This is what they said

The primary reason for upgrading to PHP 8.0 is that earlier versions are going out of support and importantly, out of security support. You can see the schedule here https://www.php.net/supported-versions.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant