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

TobiasS's avatar
Level 10

Make local development case sensitive?

Hi!

I just managed to deploy a project to a ubuntu webserver.

There is a problem with case sensitive. Linux is case sensitive mac case insensitive.

How do I make my local development case sensitive or can I make my production case insensitive?

I found a guide regarding making Mac case sensitve https://m.dotdev.co/dealing-with-case-sensitivity-related-errors-in-web-development-509a442e6d96

But I also saw some issues with Valet and case sensitive.

I would like my development environment and production to be as close as possible.

Any suggestion how to accomplish this?

Thanks in advance!

0 likes
5 replies
martinbean's avatar

@tobiass Do you mean the casing of filenames? If so, the best “fix” is to just get in the habit of naming files with the correct case.

Please or to participate in this conversation.