php如何设置fpm开机启动
2022-12-02 09:01:16
118
{{single.collect_count}}

方法:首先执行“chmod a+x /etc/init.d/php-fpm”命令,添加执行权限;然后执行“chkconfig --add php-fpm”命令加入服务;最后执行“chkconfig php-fpm on”命令设置开机自启。

php入门到就业线上直播课:进入学习
Apipost = Postman + Swagger + Mock + Jmeter 超好用的API调试工具:点击使用

本教程操作环境:windows7系统、PHP7.1版,DELL G3电脑

添加执行权限

chmod a+x /etc/init.d/php-fpm
登录后复制

加入服务

chkconfig --add php-fpm
登录后复制

开机自启

chkconfig php-fpm on
登录后复制

查看服务列表:

chkconfig --list
登录后复制

推荐:《2021年PHP面试题大汇总(收藏)》《php视频教程

以上就是php如何设置fpm开机启动的详细内容,更多请关注php中文网其它相关文章!

回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}