Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  PHP + FastCGI

nesrait
Posted: Sat Dec 12, 2009 8:10 pm Reply with quote
User Joined: 02 May 2009 Posts: 33 Location: Portugal
Hi all!

Just wanted to share an easy way to serve php pages
using FastCGI instead of CGI (which seems to be norm
around here Smile).

Grab a copy of spawn-fastcgi from:
http://redmine.lighttpd.net/projects/spawn-fcgi/wiki

And take it for a spin like so:
spawn-fcgi.exe -a 127.0.0.1 -p 3000 -f <path to php-cgi>
After which you'll have a persistent fastcgi process
ready to take your orders. Smile

The docs contain boot scripts for rails and php so you
might want to take a look at those.

Cheers,
Davide Smile



Post received from mailinglist
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum