How can I configure a local server case sensitive?

I am running on 64-bit Windows Vista Home Premium. I am using Apache friends XAMPP server as my localhost. And I am developing PHP, MySQL.

The problem is that my local server is tolerant of errors in case of errors, especially in file and folder names.

When this running program on my server runs on Linux servers, it really is a headache for finding and fixing all errors in the case.

So, how can I configure my local server case-sensitive, like on Linux servers?

+6
windows xampp
source share
2 answers

No, you canโ€™t. Processing PHP files depends on the underlying O. Since Windows is case-insensitive, it cannot process files with a different case.

This will not change since it will break many applications. NTFS is a case-sensitive file system in accordance with this article.

If your old PC doesnโ€™t do anything, install a Linux server on it. Or, if you have enough resources (RAM), start the virtual machine ( using VirtualBox )

+2
source share

case sensitivity is not related to the web server, but to the operating system. Linux is case sensitive, not window sensitive. As far as I know, you cannot make windows case sensitive.

but try yo keep all your folders / files in lower case, this will save you a lot of space when switching to a Linux production server.

+2
source share

All Articles