Home  >  Article  >  Backend Development  >  How to set up fpm to start in php

How to set up fpm to start in php

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-04-19 16:38:063508browse

Method: First execute the "chmod a -fpm on" command to set auto-start at boot.

How to set up fpm to start in php

The operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer

Add Execution permission

chmod a+x /etc/init.d/php-fpm

Join service

chkconfig --add php-fpm

Start at boot

chkconfig php-fpm on

View service list:

chkconfig --list

Recommended: "2021 PHP interview questions summary (collection)" "php video tutorial

The above is the detailed content of How to set up fpm to start in php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn