I have www/obhttpd installed and working with static files, it serve index.html correctly.
Since obhttpd is using chroot(8), php need to be inside the chroot?
What I need to do to accomplish this?
I am using the next configuration (/usr/local/etc/obhttpd.conf), but does not work
I am trying to display a simple index.php file which only invoke phpinfo()
Since obhttpd is using chroot(8), php need to be inside the chroot?
What I need to do to accomplish this?
I am using the next configuration (/usr/local/etc/obhttpd.conf), but does not work
Code:
chroot "/usr/local/www"
server "default" {
listen on * port 80
location "*.php"{
fastcgi socket "/run/php-fpm.sock"
}
}
I am trying to display a simple index.php file which only invoke phpinfo()