Discussion:
httpd serving php [SOLVED]
Teno Deuter
2018-07-06 16:44:27 UTC
Permalink
you were so right!

Thank you for pointing this out.
enable just enables it you need
rcctl start php56_fpm
rcctl enable php56_fpm
then yes, I did it but I still get a 500 error!
Dear support team,
in a OpenBSD 6.3 installation with php packges added, I have the
server "domain" {
listen on * tls port 443
listen on :: tls port 443
tls {
certificate "/etc/ssl/private/server.pem"
key "/etc/ssl/server.key"
}
directory index index.php
location "/pub/*" {
directory auto index
}
root "/htdocs/domain"
location "*.php" {
fastcgi socket "/run/php-fpm.sock"
}
}
the above generates a 500 error!
Also, no '/run/php-fpm.sock' exists!
Thank you for your help
Did you start php-fpm?
Loading...