Caddy Web Server (v2024)

I Move a phpmaker project to Caddy I moved a phpmaker project from Apache to Caddy Web Server for efficiency and speed reasons, but it gives a 404 error message without any indication. Does anyone have a similar experience and does it require any special configuration?

Assume you are using v2026, make sure you have configured the Caddy web server properly, see Symfony docs about Configuring a Web Server -> Caddy.

Note that PHPMaker does not use the "public" folder, so you need to change:

root * /var/www/project/public

to your actual project folder path on the server, e.g.

root * /var/www/project

Unfortunately i use phpmaker 2024 and project worked in 'anova' folder in root Apache . Does it matter? or any advice

Then you should refer to Slim Framework -> Web Servers -> Caddy.

1 Like