ansible-role-php
ansible-role-php copied to clipboard
Could not find the requested service php8.2-fpm: host
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 :)
Now, I added php-fpm
to php_packages
and it works, generally I see php8.2-fpm
in /etc/init.d
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.
The role just skipped installing fpm for me also; this works:
php_packages:
- php{{php_default_version_debian}}-fpm
This issue is no longer marked for closure.
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.
same problem
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.
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.