View Single Post
Old 5th August 2019
jonsec jonsec is offline
Port Guard
 
Join Date: Jul 2019
Posts: 24
Default

Quote:
Originally Posted by PapaParrot View Post
Httpd needs to be restarted when the conf file is changed, I am sure you know that, but just in case.
Can you show us the complete configuration file ? Also this:
Code:
/run/php-fpm-example
Does httpd start ok with out any of the "CGI" parts ?
Also is your php-fpm started ok ?
i use below code and delete last codes , but i have syntax error.

Code:
server test {
   listen on * port 80
   location match "^.+%.php$" {
      fastcgi socket "/run/php-fpm-example"
      fastcgi param HTTP_HOST "test.example.com"
   }
}
Quote:
Does httpd start ok with out any of the "CGI" parts ?
yes

Quote:
Also is your php-fpm started ok ?
yes
Reply With Quote