I have a website that needs to run Squirrelmail (which is PHP based), but I'd like to get it feeding into Ruby on Rails as well. I'm looking at lighttpd because it seems to be easier to get it integrated with Rails. I'm curious, though, how difficult it is to get PHP running with it in this configuration. Overall lighttpd seems to be pretty easy to use. However, it looks like I may have to recompile PHP. I was curious to see if anyone has done this with CentOS or if there are RPMs out there in the world that would allow me to avoid this. Preston
Preston Crawford wrote:> I have a website that needs to run Squirrelmail (which is PHP based), > but I'd like to get it feeding into Ruby on Rails as well. I'm looking > at lighttpd because it seems to be easier to get it integrated with > Rails. I'm curious, though, how difficult it is to get PHP running with > it in this configuration. Overall lighttpd seems to be pretty easy to > use. However, it looks like I may have to recompile PHP. I was curious > to see if anyone has done this with CentOS or if there are RPMs out > there in the world that would allow me to avoid this.Get php-cgi* rpm's and use the /usr/bin/php-cgi with fastcgi (I compiled mine from source). I've used this combination with Zeus/FastCGI with no problems on CentOS 4.2