php7.0-fpm和nginx无法启动谁遇到了
Tofloor
poster avatar
159******10
deepin
2018-01-01 03:08
Author
注销或开机时提示nginx和php7.0-fpm启动失败,每次都需要自己执行systemctl start nginx.service才可以启动,请问有人遇到过吗
Reply Favorite View the author
All Replies
avatar
135******85
deepin
2018-01-02 22:03
#1
我也遇到了,已经找了很多资料,还是没找到准确答案.
Reply View the author
avatar
coldlook
deepin
2018-01-02 22:31
#2
正常啊,我都是自己启动的额。

写个开机脚本
  1. vi /etc/rc.local
Copy the Code
  1. #!/bin/bash
  2. #启动nginx和php
  3. service nginx start
  4. service php5-fpm start
  5. service php7.0-fpm start
Copy the Code
Reply View the author
avatar
deepin
2018-01-03 17:46
#3
我现在不想再深度装php开发环境了,直接用docker或者虚拟机里装,深度有的扩展是没有的,只能在centos上装php开发环境了
Reply View the author