Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

flyingearl's avatar

Issue with production not giving 404 error with .php files

We have a server built using Laravel Forge. We are currently having an issue with the current nginx setup where it just shows "No input file specified." when a .php extension is appended to a URL. Is there a way to stop this happening and for it to return the 404 page instead?

0 likes
1 reply

Please or to participate in this conversation.