This is a windows system and a new caddy install.
i am trying to get PHP to run when i open caddy. I have it working on my own machine, i was trying to help a friend yesterday, as far as i can tell his is set up exactly like mine but doesn’t work the same.
in the caddyfile this line is the line tries to open PHP:
startup /caddy/php/php-cgi -b 127.0.0.1:9000 &
Caddy.exe echos that “c:\php… cannot be found in Unknown on Line 0” and repeats for each dependent file
The problem is that php is at c:\caddy\php and not c:\php. I don’t know where its grabbing that root path from.
We attempted last night to make another php folder at c:\php just for the sake of seeing what happens and the error goes away and caddy opens properly. In this situation PHP still doesn’t parse though. When i navigate to index.php it displays it as a text file in the browser.
I’m certainly it’s just my lack of knowledge about something simple kicking my butt here. Any recommendations form the more knowledgeable folks?