Answer the question
In order to leave comments, you need to log in
/tmp/phpfpm.sock in what form should environment variables be passed?
There is /tmp/phpfpm.sock.
I have my own application that will work with php-fpm.
You need to pass environment variables to php-fpm:
SCRIPT_FILENAME
QUERY_STRING
REQUEST_METHOD
SCRIPT_NAME
DOCUMENT_URI
REQUEST_URI
DOCUMENT_ROOT
PHP_SELF
GATEWAY_PROTOCOL How
to write this data to the socket?
Answer the question
In order to leave comments, you need to log in
In my opinion, a lot is described how to transfer it in the standard nginx config, by analogy, writing the rest is not difficult, or do you not have nginx?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question