ansible-role-php icon indicating copy to clipboard operation
ansible-role-php copied to clipboard

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

Open MateuszPrasal opened this issue 2 years ago • 6 comments

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 avatar Feb 06 '23 07:02 MateuszPrasal

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

MateuszPrasal avatar Feb 06 '23 11:02 MateuszPrasal

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.

stale[bot] avatar May 22 '23 03:05 stale[bot]

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

php_packages:
  - php{{php_default_version_debian}}-fpm

lfkdev avatar Jun 26 '23 15:06 lfkdev

This issue is no longer marked for closure.

stale[bot] avatar Jun 26 '23 16:06 stale[bot]

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] avatar Oct 28 '23 10:10 github-actions[bot]

same problem

whitethemight avatar Nov 28 '23 07:11 whitethemight

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] avatar Apr 06 '24 10:04 github-actions[bot]

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.

github-actions[bot] avatar Jun 08 '24 10:06 github-actions[bot]