Ubuntu php5-fpm throws unknown instance on reload

前端 未结 9 858
忘了有多久
忘了有多久 2020-12-24 06:28

I am having some problems with ubuntu and php5-fpm on my VPS. Php works fine, however it throws terminal error when I am trying to reload / restart / stop it. Basically, I c

9条回答
  •  Happy的楠姐
    2020-12-24 07:06

    Usually, the service command will do fine:

    service php5-fpm restart
    

    But if the "unknown instance" issue appears, you can just kill the processes and have the service restarted, using this line:

    sudo pkill php5-fpm; sudo service php5-fpm start
    

提交回复
热议问题