Comments (4)
Hello. I can not test with bitbucket but with cli, it's work :
docker run --rm -it -e"PHP_EXTENSIONS=gd tidy bcmath imap intl" thecodingmachine/php:8.1-v4-fpm php -m | grep bcmath
To force regeration of configuration (manually), you can run :
/usr/bin/real_php /usr/local/bin/generate_conf.php | sudo tee "/etc/php/${PHP_VERSION}/mods-available/generated_conf.ini" > /dev/null
PHP_VERSION="${PHP_VERSION}" /usr/bin/real_php /usr/local/bin/setup_extensions.php | sudo bash
If the bug it's not fix with that, please execute the manual commands (without > /dev/null
`) and give me the result of std/err output + content of /etc/php/${PHP_VERSION}/mods-available/generated_conf.ini
PS: for pipeline, it's not fpm that you may need but cli variant (but both should work).
from docker-images-php.
I had a similar problem. In the bitbucket log, this line came up:
Invalid environment variable value found for PHP_EXTENSION_FFI. Value: "%!s(int=1)". Valid values are "0", "1", "yes", "no", "true", "false", "on", "off".
Previously my docker-compose file looked like so (as yaml hashes):
environment:
PHP_EXTENSION_FFI: true
These also failed:
PHP_EXTENSION_FFI: 1
PHP_EXTENSION_FFI: "true"
In the end I went for - PHP_EXTENSIONS=ffi
(as a yaml string list) and that worked. No idea where the problem started.
@sdespont note that your second try is wrong:
Also tried with
image: name: thecodingmachine/php:8.1-v4-fpm environment: PHP_EXTENSIONS=gd tidy bcmath imap intl
You need to prefix lines with a dash to have a yaml string list:
image:
name: thecodingmachine/php:8.1-v4-fpm
environment:
- PHP_EXTENSIONS=gd tidy bcmath imap intl
from docker-images-php.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please update it if any action still required.
from docker-images-php.
This issue has been automatically closed because it has not had recent activity. Please, reopen if you need.
from docker-images-php.
Related Issues (20)
- Add decimal extension
- Cannot run Composer binaries without path anymore HOT 9
- Add uopz extension HOT 2
- Add libvips HOT 2
- Lots of `<defunct>` processes when using Cron HOT 2
- No rebuild with Composer 2.6.2? HOT 3
- Publishing image on other container registries HOT 4
- Docker fails when using non-privileged user HOT 2
- Add PHP 8.3 images HOT 15
- Building image from php:8.2-v4-apache or php:8.3-v4-apache fails with modified php.ini query HOT 3
- Redis missing from fat image HOT 5
- Missing "gd" PHP extension HOT 3
- Composer 2.7 and CVE-2024-24821 HOT 1
- Extension opentelemetry HOT 1
- Install SQL Server (sqlsrv) and PDO_SQLSRV (pdo_sqlsrv) HOT 2
- GItlab ci: Composer cache permission denied HOT 3
- Outdated PHP versions for most 8.3 images HOT 2
- How do I get SSL working? HOT 1
- `./install.sh: 1: ../core/excimer: not found` in php 8.3 v4 slim apache
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 docker-images-php.