-
So I've installed Caddy as normal and it works as a systemd service - I updated my service file to use the FrankenPHP executable rather than the Caddy executable and this works fine so far. However, I can't seem to get PHP processing. I created a {
# Enable FrankenPHP
frankenphp
order php_server before file_server
}
:80 {
root * /usr/share/caddy
# Enable the static file server.
file_server
}
:8081 {
respond "Hello there."
}
:8082 {
root * /home/ocean/test
php_server
} <?php
echo phpinfo();
|
Beta Was this translation helpful? Give feedback.
Answered by
splashsky
Nov 1, 2023
Replies: 1 comment
-
Apologies - this was a permissions issue with the directory and unrelated to anything else. :P |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
splashsky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apologies - this was a permissions issue with the directory and unrelated to anything else. :P