Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

PHP installations link CLI php.ini in unsupported way #30

Open
andytheapedemontague opened this issue Feb 8, 2021 · 0 comments
Open

Comments

@andytheapedemontague
Copy link

On a CS Cart Ansible installed PHP installation on Debian, the PHP CLI php.ini is a link to /etc/php.ini

Example:

/etc/php/7.1/cli/php.ini -> /etc/php.ini

See roles/php7*/common/tasks/main.yml task "enabling CLI configuration"

This breaks php*-fpm upgrades:

ucfr: Attempt from package php7.1-fpm  to take /etc/php.ini away from package php7.1-cli
ucfr: Aborting.
dpkg: error processing package php7.1-fpm (--configure):
 installed php7.1-fpm package post-installation script subprocess returned error exit status 4
Errors were encountered while processing:
 php7.1-fpm

It seems that this is not supported by the PHP packages CS Cart Ansible uses:

oerdnj/deb.sury.org#1473

The CS Cart Ansible scripts should produce PHP installations that do not break the packages they use so we can actually do upgrades.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant