Answer the question
In order to leave comments, you need to log in
What to fix in the router in php?
Good day to all !
Started a PHP project. I have written so far on windows and use OpenServer as a local server. Everything works perfectly. I copied the project folder to Linux and redirection to controllers does not work. Gives 404 error
Answer the question
In order to leave comments, you need to log in
Remember Windows is case insensitive, Linux is case sensitive.
Go through ALL controllers, and see if the route redirects to a controller whose name exactly matches what you entered in the route.
that is, there is a HomeController in the route, and the controller is called homeController, for Linux there are different things.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question