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

Add PHP 8.1 images #135

Closed
stronk7 opened this issue Aug 22, 2021 · 9 comments
Closed

Add PHP 8.1 images #135

stronk7 opened this issue Aug 22, 2021 · 9 comments

Comments

@stronk7
Copy link
Member

stronk7 commented Aug 22, 2021

This issue is to track adding PHP 8.1 images. At the time of creating this, that version is still under development and will be released later (December 2021).

Till then we'll be building rc/beta images to monitor what's breaking/missing and, also to enable various tests and checks to be performed in advance.

Ongoing work happening @ 8.0-buster...stronk7:8.1-buster

@stronk7
Copy link
Member Author

stronk7 commented Aug 22, 2021

Ok, 8.1beta3 has been just sent to dockerhub (amd64 only): moodlehq/moodle-php-apache:8.1beta3

Not working (not available yet):

  • mongodb extension.
  • xmlrpc extension.
  • sqlsrv extension.

Surprisingly good for the very first run, let's see how they evolve.

Ciao :-)

@scara
Copy link
Contributor

scara commented Aug 22, 2021

Hi Eloy,
it's worth looking at https://blog.remirepo.net/pages/PECL-extensions-RPM-status (PHP 8.1 as SCL for RedHat-ish OSs), to get the feeling of the current status from Remi who is still working hard on PHP extensions e.g. mongodb looks like already available for Remi's PHP 8.1 SCL so there would be a chance to get it into the Debian repos too.

Whilst for the others:

HTH,
Matteo

@stronk7
Copy link
Member Author

stronk7 commented Aug 22, 2021

Yeah,

I tried building here both with mongodb and xmlrpc(beta @ PECL) but both failed (with similar compilation errors, from memory, related to Serializable stuff).

And yes, sqlsrv seems to be near, I did read that their next "beta" release was going to include it, cool.

Thanks for your research!

stronk7 added a commit to stronk7/moodle-php-apache that referenced this issue Aug 22, 2021
Based on beta3, still there are a few things not working,
so disabling them for now:

- mongodb
- xmlrpc
- sqlsrv

This will fix moodlehq#135
stronk7 added a commit to stronk7/moodle-php-apache that referenced this issue Sep 19, 2021
Introducing:

- sqlsrv (5.10.0beta1 and later)

Still not working:

- mongodb
- xmlrpc

This will fix moodlehq#135
@stronk7
Copy link
Member Author

stronk7 commented Sep 19, 2021

Have bumped the image to 8.1 rc2: moodlehq/moodle-php-apache:8.1rc2

sqlsrv support added. mongodb and xmlrpc still not working.

@stronk7
Copy link
Member Author

stronk7 commented Nov 8, 2021

Note I bumped to 8.1 rc5 few days ago, but I did not look to any of:

  • Final / better sqlsrv version.
  • mongodb
  • xmlrpc

Will try whenever I have a few time...

@stronk7
Copy link
Member Author

stronk7 commented Nov 21, 2021

Bumping to rc6:

  • sqlsrv (5.10.0beta1), for debian 10 (buster), previously using debian9 package.
  • mongodb

Still not available:

  • xmlrpc

@stronk7
Copy link
Member Author

stronk7 commented Dec 2, 2021

For the records, I've asked @ php/pecl-networking-xmlrpc#2 if there is going to be a new RCX release of the extension @ PECL or no.

We always can built it locally (vs from PECL), so tests continue working and so on...

... but it's becoming an absolute priority to get on XMLRPC to be or not to be ASAP. No matter the answer to the question.

Ciao :-)

@stronk7
Copy link
Member Author

stronk7 commented Dec 4, 2021

Yay, so now php-xmlrpc 1.0.0RC3 is available and that enables us to complete the PHP 8.1 images.

I'm going to add a comment @ https://tracker.moodle.org/browse/MDL-70889, because we need to seriously consider that issue before Moodle 4.1 (that will come with PHP 8.1 support, hopefully).

@stronk7
Copy link
Member Author

stronk7 commented Dec 4, 2021

Ok, so now the 8.1.0 images are built and published:

I'm going to close this now, thanks!

@stronk7 stronk7 closed this as completed Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants