====== PHP and OpenBSD httpd ====== Packages you need to install pkg_add php admin steps rcctl enable php83_fpm rcctl start php83_fpm make sure you chown all user files in vhost root dir to the user listening in php-fpm which is www One of the awesome things about OpenBSD is it's flavors system which beats any other OS's package system. It will list which version you want latest as of this writing is 8.3 the code to add to your httpd.conf is based on vhost but it's basically this: location "*" { # root "/htdocs/wiki.unix.beer/doku.php" #request strip 1 fastcgi socket "/run/php-fpm.sock" } If you are active in the OpenBSD community or have used OpenBSD extensively you will know that it chroot's everything so the root will be the dir instead to main chroot so /var/www will become just /htdocs/dir but this is basically it to enable php using fpm