@jeder however you set it up both caddy and php-fpm need read access to the files (and their containing directories) and all of them need to be at the exact same paths for both (if i recall correctly. it's certainly the easiest way to pull it off)
@kopper i am doing such gymnastics because i clearly do not want to run any kind of sql on bare metal because the way fedora deals with postgres updates horrifies me
in it somewhere and trying to open it just to make sure php works in the first place. if that works then it's a bug in whatever cursed wordpress mod you're running, otherwise it's your php setup
@jeder yeah it should just be those two lines. you don't even need the closing ?> (which is actually discouraged in modern php as it can break sending headers due to trailing newlines and all that)