PHP-FPM and nginx upstart scripts for Ubuntu 10.04

Mathew Davies thepixeldeveloper at googlemail.com
Thu May 27 23:58:37 MSD 2010


Thanks Michael, I shall be testing it on 5.3.2 with the FPM patch some time
later this week. If I have the time I'll consider adding a bit more
functionality.

On 21 May 2010 10:23, Michael Shadle <mike503 at gmail.com> wrote:

> Works with PHP 5.2.x + the patch.
> http://michaelshadle.com/2010/05/21/php-fpm-and-nginx-upstart-scripts/
>
> (No clue how to startup PHP 5.3 w/ SVN, may wind up being the same...
> haven't had a chance to run it yet.)
>
> Replaces the need for all the /etc/init.d and /etc/rc?.d scripts and
> symlinks that may have had to be manually created. Also doesn't rely
> on the php-fpm script usually installed in /usr/local/sbin/php-fpm.
>
> That may come in handy still for log rotation - it looks like it still
> drops a .pid file properly in the pid_file location (typically
> /var/run/php-fpm.pid)
>
> Enjoy. Feel free to enhance it. It's very basic right now :)
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



-- 
Kind Regards,
-Mathew Davies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100527/01281593/attachment-0001.html>


More information about the nginx mailing list