linux under nginx php-fpm from the start

In rc.localincreasing the boot code on it.

1, View nginx and php-fpm executable file location

whereis nginx
whereis php-fpm

 It is generally installed in / usr / sbin / nginx and / usr / sbin / php-fpm

2, editrc.local文件

sudo vi /etc/rc.local

3, the end of the file inserted row

/usr/sbin/nginx
/usr/sbin/php-fpm

Published 44 original articles · won praise 28 · views 420 000 +

Guess you like

Origin blog.csdn.net/hanzengyi/article/details/99850470