I am trying to install PHP FPM on my CentOS 5.6 server, but I wasn't able to get it to work. After downloading PHP 5.3.20 from their php.net, configuring it, making it and installing it, I got this message:
Installing PHP SAPI module: fpm Installing PHP CLI binary: /usr/bin/ Installing PHP CLI man page: /usr/share/man/man1/ Installing PHP FPM binary: /usr/sbin/ Installing PHP FPM config: /etc/ Installing PHP FPM man page: /usr/share/man/man8/ Installing PHP FPM status page: /usr/share/fpm/ Installing build environment: /usr/lib/build/ Installing header files: /usr/include/php/ Installing helper programs: /usr/bin/ program: phpize program: php-config Installing man pages: /usr/share/man/man1/ page: phpize.1 page: php-config.1
At that point, I assumed PHP was installed so I restarted Apache, but it was serving PHP files as plain text. How do I fix this? How do I get PHP FPM enabled on my CentOS 5.6 box?