php_openbsd_https
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| php_openbsd_https [2024/05/27 05:17] – created chris | php_openbsd_https [2024/05/27 05:18] (current) – chris | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Packages you need to install | Packages you need to install | ||
| + | < | ||
| pkg_add php | pkg_add php | ||
| Line 9: | Line 9: | ||
| rcctl enable php83_fpm | rcctl enable php83_fpm | ||
| rcctl start 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 | make sure you chown all user files in vhost root dir to the user listening in php-fpm which is www | ||
| Line 16: | Line 16: | ||
| the code to add to your httpd.conf is based on vhost but it's basically this: | the code to add to your httpd.conf is based on vhost but it's basically this: | ||
| + | < | ||
| location " | location " | ||
| # root "/ | # root "/ | ||
| Line 22: | Line 22: | ||
| fastcgi socket "/ | fastcgi socket "/ | ||
| } | } | ||
| + | </ | ||
| If you are active in the OpenBSD community or have used OpenBSD extensively you will know that it chroot' | If you are active in the OpenBSD community or have used OpenBSD extensively you will know that it chroot' | ||
| but this is basically it to enable php using fpm | but this is basically it to enable php using fpm | ||
php_openbsd_https.1716787021.txt.gz · Last modified: by chris
