We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

$app->get() doesn't work in ubuntu in Phalcon 3.3.1

I am working in micro service which works well in windows but when i deploy it in linux the only route that work is the root "/".

Micro service is mounted on docker container's.



32.2k
Accepted
answer

do you have a problem with your rewrite url module in apache or nginx. check that

Ok, i will do it. Thanks

Very common issue. Development on Windows as a server shall be avoided (not only for Phalcon).

Your route names and handlers are case sensitive on GNU/Linux, thus make sure you use lowercase.