1.在系统服务目录里创建php-fpm.service文件
vi /lib/systemd/system/php-fpm.service
写入以下内容(路径改成自己的)
[Unit]
Description=php-fpm
After=network.target
[Service]
Type=forking
ExecStart=/usr/local/php-7.1.7/sbin/php-fpm
PrivateTmp=true
[Install]
WantedBy=multi-user.target
2.加入开机自启(重启后生效)
systemctl enable php-fpm.service #注意后面不能跟空格
3.查看运行的服务
systemctl list-units --type=service #查看运行的服务
最新评论
什么时候出新版啊已经过了半个月了
有没有港台节目直播?
One Drive提取密码?
大佬请问每次都需要在plugins中启动tiktok吗,还是直接启动app