so I'm having server issues and need am having to restart php4-fpm every few hours, I was wondering what I would add to the crontab in order to restart it hourly?
It's installed in etc/php5/fpm/
I have the php 5.3.10 on my ubuntu.
Now I installed the 5.5.7 and would like to restart it but when doing:
sudo service php5-fpm restart
It restarts the php 5.3.10, not the 5.7.7
By doing :
I am getting:
Usage: php-fpm [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>] [-D] [-F
i get 504 gateway timeout when i try to reach my server
a small check didn't find any logs on php5-fpm logs, but just to make sure, i tried to restart it.
when i'm trying to restart it:
i get [fail]
but when i do
sudo service php5-fpm stop
sudo service php5-fpm start
I get no error.
how can i investigate it if there are no logs?
what can i do?