yevgenko / cookbook-php-fpm

Installs/Configures php-fpm
http://community.opscode.com/cookbooks/php-fpm
Apache License 2.0
68 stars 117 forks source link

Make it work on Amazon Linux #2

Closed jbasko closed 11 years ago

jbasko commented 11 years ago

Hi, i tried to make your recipe work on Amazon Linux instance and it failed because there's no php5-cgi or php5-fpm package. Looks like php-fpm package is sufficient.

yevgenko commented 11 years ago

Thanks, it helped to deploy php-fpm on AWS, but there still problem with default pool file, it set to use apache user/group:

ERROR: FPM initialization failed
ERROR: [pool www] cannot get uid for user 'apache'

i.e. to deploy with nginx, for example, pool file must be modified /etc/php-fpm.d/www.conf accordingly, otherwise service won't start.