The OS X file system is case insensitive by default. In Apache or PHP, there is nothing you can do to simulate case sensitivity, since it is processed at the OS level. There are several options for switching case sensitive local files:
- Add a new disk or partition and use a case-sensitive file system. Put your project there. This is probably the easiest fix.
- Reformat your Mac for case sensitivity. This will not be a problem for OS X, but may have negative side effects for other applications (such as Adobe).
- Run Apache and PHP inside the local virtual machine with the same OS as your server. You can edit files locally and mount the working directory inside the virtual machine. This is a good method if you want to debug an environment very similar to your server.
source share