-
Notifications
You must be signed in to change notification settings - Fork 229
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
[BUG] php.cli tries to write on wrong php.ini file in Ubuntu 20.04 LTS #216
Comments
Thanks for this report, @miquelbonastredreivip. There is fix proposed for this at #215. However, that itself is linked back to #214. And that is dependent on saltstack-formulas/openvpn-formula#132! So the solution is in the pipeline but may take a little time to achieve. |
Thanks for the feedback. In my case, I'm not in a hurry to migrate from 18.04/php7.2 to 20.04/php7.4. Miquel |
I'm having the same issue with both fpm & cli on Ubuntu 20.04 using PHP 7.4. Everything above v1.0 was broken. I tried walking through the code, but couldn't find the error in any of the sls files, how it pulled the version number to use from the pillar seemed obvious and correct, but I'm no jinja expert. I was able to workaround it by manually specifying the paths:
|
I have the same issue with php-fpm. I don't have any idea where it get's the 7.2 from. Any idea when this is going to bubble to the front? I'm glad to see the workaround above. |
Your setup
Formula commit hash / release tag
I'm using tag v1.3.1 (80f9c94)
Also fails in master (efcd71f)
Versions reports (master & minion)
(I'm using marterless deployment in Vagrant)
Pillar / config used
You can find example configuration here:
https://github.com/miquelbonastredreivip/php-formula-bugreport-20201026
Pillar info here:
https://raw.githubusercontent.com/miquelbonastredreivip/php-formula-bugreport-20201026/master/salt/pillar/php.sls
Bug details
Describe the bug
In Ubuntu 20.04 LTS, php.cli.ini fails when trying to modify php.ini file, with the following error:
Steps to reproduce the bug
Expected behaviour
salt and php-formula should have modified file "/etc/php/7.4/cli/php.ini"
Attempts to fix the bug
It works in Ubuntu 18.04 LTS, so I'm still using this version.
Additional context
The text was updated successfully, but these errors were encountered: