OpenBSD 5.8 release. I am having little trouble getting PHP working with nginx in non-chroot a.k.a. unsecure mode
Namely from little that I read I figured out that commenting out chroot line using ; in
/etc/php-fpm.conf and restarting php_fpm would be enough to get PHP working in insecure mode
Code:
; Default Value: not set
; chroot = /var/www
However that seems not to be the case even though html code works fine in insecure mode. Any clues?
I also tried to edit nginx.conf with
replacing
Code:
fastcgi_pass unix:run/php-fpm.sock;
with
Code:
fastcgi_pass unix:var/www/run/php-fpm.sock;
or with
Code:
fastcgi_pass unix:/var/www/run/php-fpm.sock;