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

minaFaragAmin's avatar

Typo in Directory name that is not detected by Apache but detected by Ngnix

i came across very strange situation i'd on my local machine ApacheCTL , PHP 7.3 , and when i was testing a local Laravel app , Then when i deployed it it was breaking.

when i debug this i found that one directory in local was like (checkIn with capital i ) where it should be (checkin with small i as my routes) .

So why it was working on apache and didn't on nginx ?

0 likes
3 replies
Sinnbeck's avatar

Are you perhaps running windows locally and Linux live? Windows ignores case while Linux doesn't

Sinnbeck's avatar

I think Mac OS X is the same as windows. Try creating test.txt and Test.txt in the same directory

Please or to participate in this conversation.