Jump to content
Froxlor Forum
  • 0

php-fpm port oder .sock Datei?


Utini

Question

Ich w?rde gerne den php5-fpm dienst mit monit ?berpr?fen und ggf. neustarten lassen. Momentan fallen mir dazu nur zwei L?sungen ein: 

 

PHP5-FPM neustarten wenn die .sock Datei nicht mehr vorhanden ist

PHP5-FPM neustarten wenn der Port nicht mehr aktiv ist.

 

Doch wo ist die .sock Datei von php5-fpm bzw. welcher Port wird verwendet?

 

Danke !

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Hmm also in den Einstellungen finde ich nichts aber ich habe .socket Dateien gefunden:

 

/var/lib/apache2/fastcgi/customername-domain.com-php-fpm.socket

 

Es gibt daf?r also f?r jeden customer/domain einen eigenen .socket?

 

@edit: hab habs.. bin blind sorry:

 

 

 

FastCGI IPC directory
The directory where the php-fpm sockets will be stored by the webserver.
This directory has to be readable for the webserver
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...