geerlingguy / ansible-role-php

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

Could not find the requested service php8.2-fpm: host #393

Closed MateuszPrasal closed 3 months ago

MateuszPrasal commented 1 year ago

Hi ! I'm trying to use PHP 8.2 on Debian 11. PHP CLI works well, but I have a lot of problems to launch php-fpm. I'm using Nginx as webserver. During launching playbook, I'm receiving Could not find the requested service php8.2-fpm: host error. Below my Ansible config

php_enable_php_fpm: true
    php_version: "8.2"
    php_default_version_debian: "8.2"
    php_fpm_state: started
    php_fpm_enabled_on_boot: true
    php_packages:
      - "php8.2-curl"
      - "php8.2-mbstring"
      - "php8.2-mysql"
      - "php8.2-pdo"
      - "php8.2-zip"
      - "php8.2-soap"
      - php8.2-xml
      - php-redis

I'd be glad for help :)

MateuszPrasal commented 1 year ago

Now, I added php-fpm to php_packages and it works, generally I see php8.2-fpm in /etc/init.d

stale[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.

lfkdev commented 1 year ago

The role just skipped installing fpm for me also; this works:

php_packages:
  - php{{php_default_version_debian}}-fpm
stale[bot] commented 1 year ago

This issue is no longer marked for closure.

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.

whitethemight commented 9 months ago

same problem

github-actions[bot] commented 5 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 3 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.