Comments (4)
I fixed it by using these values for php_packages:
`php_packages:
- php7.4-cli
- php7.4-fpm
- php7.4-soap
- php7.4-mysql
- php7.4-mbstring
- php7.4-xml
- php7.4-intl
- php7.4-gd
- php7.4-imagick
- php7.4-zip
- php7.4-curl`
from ansible-role-php-versions.
@khallouki - Yeah, if you override php_packages
, then you should ideally put {{ php_version }}
where it belongs (e.g. in place of 7.4
to match the functionality in the php_versions
role.
from ansible-role-php-versions.
Are you using the geerlingguy.php-versions
role?
from ansible-role-php-versions.
Hello,
Yes I am using geerlingguy.php-versions and geerlingguy.php. I noticed that php 7.4 is installed however the php packages are for php 8.0 (cli, fpm etc.). This is my configuration:
`php_version: '7.4'
php_default_version_debian: '7.4'
php_packages:
- php-cli
- php-fpm
- php-soap
- php-mysql
- php-mbstring
- php-xml
- php-intl
- php-gd
- php-imagick
- php-zip
- php-curl`
This has been going good for a while until now, the packages are for 8.0. Do I need to use php7.4-cli etc.?
from ansible-role-php-versions.
Related Issues (20)
- Task adding the Ondrej Sury's apt key tries to download it every time HOT 5
- It would be nice for upgrades, if you could note PHP versions that no longer need to be installed HOT 2
- Php 8.0 install error caused by php-json HOT 10
- Role is not present in the Ansible Galaxy HOT 3
- ansible-lint still sees errors HOT 1
- The goal of this role!? HOT 1
- php8.0-json is part of PHP HOT 6
- [ERROR] Could not find the requested service php7.4-fpm HOT 4
- Fails on RHEL 8 when attempting to enable the PowerTools repo HOT 7
- Question: Is it possible to install 2 or more PHP versions at the same time? HOT 2
- please add dnf module reset -y php HOT 2
- The `php_install_recommends` value is created and not honoured. HOT 3
- Ensure dnf-plugins are installed on CentOS 8+. HOT 1
- Using 7.1 as php_version installs 8.2 and some 7.1 HOT 2
- Debian 12 php8.1-yaml unavailble HOT 2
- keep php versions already installed HOT 2
- adding modules HOT 3
- Failed to update apt cache HOT 3
- Fault enabling CRB on AlmaLinux 9 HOT 2
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 ansible-role-php-versions.