Comments (18)
Workaround is in place, builds in progress:
https://github.com/phpdocker-io/base-images/actions/runs/1481517715
Apologies for the slow builds, I recently added arm32 and 64 builds which take some time.
from base-images.
@thisisablock your link didn't work for me - I guess https://bugs.php.net/bug.php?id=81424 is the relevant issue.
btw apparently adding a apt-get dist-upgrade -y && \
before the PHP install makes the issue go away.
from base-images.
Ah, looks like there's also a new version if libpcre
that is not getting installed with the other updates, hence the crash. Gonna kick off new builds now
from base-images.
Thanks all for double checking. Closing this now
@tannoiser I personally avoid upgrades on containers because it makes builds non-reproducible, and due to the way layering works on images, container size can balloon. This is part of the reason why images are being built daily, instead of waiting for a new php release. In any case it's not inherently wrong - you do you.
from base-images.
its related to all new php updates which rely on a PCRE update / bugfix.
https://www.php.net/index.php#id2021-11-19-1
Our only way to fix this was to downgrade in the container. The image has nothing to do with this issue because its loading just the latest minor version of php.
apt-cache policy php7.4
choose an older version (for example php7.4 | 7.4.3-4ubuntu2.7)
and downgrade your whole php stack.
apt-get install php7.4=7.4.3-4ubuntu2.7 php7.4-cli=7.4.3-4ubuntu2.7 php7.4-common=7.4.3-4ubuntu2.7 php7.4-fpm=7.4.3-4ubuntu2.7 php7.4-json=7.4.3-4ubuntu2.7 php7.4-opcache=7.4.3-4ubuntu2.7 php7.4-readline=7.4.3-4ubuntu2.7 php7.4-json=7.4.3-4ubuntu2.7 php7.4-opcache=7.4.3-4ubuntu2.7 php7.4-curl=7.4.3-4ubuntu2.7 php7.4-gd=7.4.3-4ubuntu2.7 php7.4-intl=7.4.3-4ubuntu2.7 php7.4-mbstring=7.4.3-4ubuntu2.7 php7.4-mysql=7.4.3-4ubuntu2.7 php7.4-soap=7.4.3-4ubuntu2.7 php7.4-sqlite3=7.4.3-4ubuntu2.7 php7.4-xml=7.4.3-4ubuntu2.7 php7.4-zip=7.4.3-4ubuntu2.7
from base-images.
thanks luis! have a nice weekend
from base-images.
Thanks @luispabon , It is working for me now. (7.4)
from base-images.
The problem seems related to oerdnj/deb.sury.org#1682
from base-images.
Thanks for the report, I was just looking into it.
It indeed seems like an issue with php 7.4.26. The current build (last night) of our image is on 7.4.25 and .26 must've come out in the last few hours.
from base-images.
8.0.13, 7.4.26 and 7.3.33 are affected
from base-images.
@thisisablock I can't reproduce it on 7.3.33, but indeed on the others.
from base-images.
@luispabon can confirm - 7.3.33 is safe
from base-images.
Unfortunately the new build won't fix the problem as it stands as libpcre isn't being updated. I reckon and I've said as much on the ondrej repo's issue above that the php packages should directly depend on this newer version of pcre (provided by the ppa).
I'll work in a workaround.
from base-images.
Builds are up, they're working for me. If any of you could please docker pull
and check to confirm I'd be thankful.
from base-images.
8.0 also working for me now.
from base-images.
I also can confirm 7.4 works. I'll think to keep in any case the dist-upgrade just in case.
beside the size of the container, are there any other contraindications?
from base-images.
Thanks for the quick response @luispabon.
This leads me to ask you if there's a way to lock the container tag to prevent these kind of issues, so we can manually control the update of PHP / dependencies, giving more security on build status on this side.
I went to https://hub.docker.com/r/phpdockerio/php74-fpm/tags and it only shows "latest"
from base-images.
Indeed there's only latest and it is like so by design. Static tags wouldn't have helped on this issue anyhow, unless I'd also gone and installed into the base image all of the php extension packages for that version of php. And I totally don't want to do that as the images would balloon in size.
from base-images.
Related Issues (20)
- How can I install php-pear on php7.3 FPM container? HOT 1
- Using phpdocker.io failed to deliver Phalcon
- Partial drive damaged HOT 1
- Using phpdocker.io failed to deliver Datastax PHP-Driver with Apache Cassandra HOT 1
- php-fpm is not running on docker-compose up HOT 4
- Latest version of php71-fpm no longer includes git (incompatible with previous versions) HOT 1
- ENTRYPOINT error HOT 1
- Uncaught PDOException: could not find driver in Command line code:1 HOT 1
- Kubernetes issue
- Remove pcre problem workaround
- PHP 7.3 missing in docker.io registry HOT 1
- PHP 8.* installed on php7.4 and php5.6 image versions HOT 5
- entrypoint.d folder HOT 1
- gd not working with php74-fpm HOT 3
- PHP 8.1 installed on php7.4 image version HOT 6
- Laravel log as image default logging HOT 1
- PHP 4.3.8? HOT 1
- phpdockerio/php:8.1-fpm builds with PHP 8.2 as default version HOT 5
- How to compile and install the PHP-YAF extension, php version 7.2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from base-images.