Friday, July 06, 2018

Re: httpd serving php

sorry, if you mean the following:

rcctl enable php56_fpm

then yes, I did it but I still get a 500 error!

On Fri, Jul 6, 2018 at 6:07 PM, Daniel Corbe <dcorbe@gmail.com> wrote:
> at 11:40 AM, Teno Deuter <gvgter@googlemail.com> wrote:
>
>> Dear support team,
>>
>> in a OpenBSD 6.3 installation with php packges added, I have the
>> following httpd configuartion:
>>
>> 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?
>
>

No comments:

Post a Comment