Centos7 php web开发服务启动项

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Pencil1312/article/details/72379805
1.nginx服务器使用命令:
systemctl start nginx.service
#启动nginx
systemctl stop nginx.service #停止
systemctl restart nginx.service #重启
systemctl enable nginx.service #设置开机启动

2.php-fpm服务使用:
systemctl start php-fpm.service #启动php-fpm
systemctl enable php-fpm.service #设置开机启动

3.mysql服务使用:
systemctl start mariadb.service#启动MariaDB
systemctl stop mariadb.service #停止MariaDB
systemctl restart mariadb.service #重启MariaDB
systemctl enable mariadb.service #设置开机启动




猜你喜欢

转载自blog.csdn.net/Pencil1312/article/details/72379805
今日推荐