I just did a yum install of php on amazon linux beta. (it's similar to centos, jfyi)
php -v reveals its php 5.3.6. awesome so. Now I am trying to figure out if I can package install the php-fpm.
cant find anything specific on FPM. doc says its included but it seems it might need to be compiled. I don't see a yum install php-fpm to make my life easier. :)
so please do guide me on this if you know how. alternatively if we need to compile I would appreciate the complete configure param to help me a bit. I don't want to miss anything essential in compile time.
thank you in advance , need sleep
Alright I eventually figured out that I need to compile. Loaded all the params after much googling and copying the phpinfo for the existing install.
I got the fpm compiled and installed then used the yum for any missing pecl packages since its the same version it worked fine.
one issue remained is the init script for fpm in the source does not really work. it picks up the param and env paths etc all ok but something is not right so it just fails to work.
usually a pecl install is available in yum. But not always.
Once compiled you need to check the user/group defined within the configuration file as well as modifying some options like the dynamic workers or the php options. The later caused me some headache as i had forgotten to remove them. Did you check the fpm error log ? What errors are reported ?