PHP init script to go with nginx?

Renaud Allard renaud at llorien.org
Sat Jun 14 11:15:38 MSD 2008



Phillip B Oldham wrote:
> Renaud Allard wrote:
>> php-fpm is probably the best way to start php as a cgi.
>> http://php-fpm.anight.org/
> Just compiling support now, but the documentation's a little light. Once 
> its finished, how would I use it?

Just like a normal init script:
/usr/local/sbin/php-fpm start

So basically, you just need to link it into /etc/init.d if you are using 
linux, then use update-rc.d (for debian based systems) ot chkconfig (for 
redhat based systems) to update the links into the different runlevels.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3291 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://nginx.org/pipermail/nginx/attachments/20080614/dd1c3596/attachment.bin>


More information about the nginx mailing list