-
Notifications
You must be signed in to change notification settings - Fork 16
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
Can you test the PHP v8.0.12 image? #126
Comments
The new image is missing The previous way of installing PCOV no longer works:
|
The 8.0.11
8.0.13
Notice that |
I appreciate that the goal of this change was to provide more timely updates to the
As a fellow open source maintainer, I strongly recommend reverting these changes, removing |
I'll get that going in a respin of the images shortly.
@shadowhand The method of using apt packages for php extensions won't work in these new images as we don't rely on any of those packages. Unless you have a better idea, I imagine the best method for installation would be with pecl/pear, which isn't in the image at the moment. I can get that in an update today as well.
Checking
@shadowhand I understand, which is why we're going to fix as much as possible here on what's broken. To answer your question from the other GitHub Issue, we can't use the PPA because 1) sometimes the new versions take longer than we need and 2) they remove older versions that we need. We have images that we need to rebuild/fix that we literally cannot because those versions are no longer available in the PPA. That's not acceptable for our use case in order for us to provide support for these images in the future. There's some bugs, and docs can be added for the lack of apt packages, yes, and we will do that. We'll do our best to get this to a place that works for CircleCI as well as the users. |
Updated images are building. They're be out soon. I'll update here when that happens. |
Thank you @FelicianoTech for the work you do on this repo and I now understand better the rationale of the change following your previous replies. Just a heads up, the Indeed, a well documented method to add custom extensions now that relying on the PPA is no longer available will be needed. Thanks again for your work. |
Three of the six new image tags have been updated with changes from this thread. The other 3 will be published within 30 minutes. A quick summary:
I'll check back in next week so we can see if this addresses everything or if there's more tweaks to be made. Then the readme will be updated with suggestions on use, for example, using pecl to install something. |
@FelicianoTech Thanks for the swift response to the issues raised. I appreciate the reasoning for making this change, even though it has caused some growing pains. I found a couple of additional issues after testing the new images again... Running
And at the end:
It appears that pear/pecl need a config set (which has been removed?): pear config-set php_ini /etc/php.d/circleci.ini For now I have added this to my sudo pear config-set php_ini /etc/php.d/circleci.ini && \
sudo pecl update-channels && \
sudo pecl install pcov |
I can confirm that |
The comments about the pear config have been taken care of. SOAP support was also added. As far as I can tell, anything missing or broken mentioned in this thread were taken care of a few days ago with the final pass adding SOAP. I'll leave this issue open for a bit more to collect any last minute feedback but I think we're good to go here. |
Hello! We are using some PHP extensions with the After dig in a bit, we found this issue which is exactly our problem. We install some extensions with: sudo apt update && sudo apt install -y php8.0-redis php8.0-apcu php8.0-amqp php8.0-imagick php8.0-intl php8.0-mysql php8.0-uuid I tried to use pecl instead apt as you have suggested in the comments above: sudo pecl install redis apcu amqp imagick intl uuid But now I have some "library not found" errors:
For now, we have forced the use of the Thanks! |
@JalexChen We use the Docker originated extension install script now right? So I can close this? |
Hey everyone!
Some of you may have noticed that we haven’t published a PHP image for a few new releases now. We’re a bit behind due to an issue we’re having with the prepacked PHP releases we were using. We’re switching the image to use custom-compiled PHP instead.
Can you help test it?
Of the releases we haven’t published yet, we’ve published PHP v8.0.12 as a test image (cimg/php:8.0.12). If you can, please use this image for your build to let us know if it works for you the way a previous cimg/php:* image has or even the legacy PHP image circleci/php:*. Specifically, I want to make sure we’re not missing any PHP extensions that we’ve may have had in a previous image.
The text was updated successfully, but these errors were encountered: