geerlingguy / ansible-role-php

Ansible Role - PHP
https://galaxy.ansible.com/geerlingguy/php/
MIT License
496 stars 442 forks source link

Add support for Ubuntu 2022 #380

Closed lukasfischer closed 8 months ago

lukasfischer commented 2 years ago

Create a vars file Ubuntu-22.yml


__php_default_version_debian: "8.1"

dietze-ac commented 1 year ago

In Ubuntu 22.04 there is no package php8.1-json. Code is included in an other package- This packages has to be omitted in __php_packages in the vars file for Ubuntu 22.04.

plix1014 commented 1 year ago

it works with this config.

Ubuntu-22.yml.txt

markstos commented 1 year ago

@plix1014 Could you submit a PR with your fix?

markstos commented 1 year ago

This version vars/Ubuntu-22.yml file worked for me:

https://github.com/geerlingguy/ansible-role-php/blob/23280d5db8f430fe8ede5f3f116ced4796c34522/vars/Ubuntu-22.yml

It lists every file except the JSON dep. It' s not the cleanest solution, but it works!

pfrenssen commented 1 year ago

There is a fix for the missing php8.0-json package in #358.

github-actions[bot] commented 1 year ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

markstos commented 1 year ago

not stale.

github-actions[bot] commented 10 months ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] commented 8 months ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.