This question has been asked many times and I have gone through most of them and still haven't found an effective way to solve this.
Here's the problem.
I mainly develop using Zend Framework 1.12 on Windows and deploy applications to my VPS Ubuntu 14.04. Most of the times it works fine but since I started using sub-folders I am having issues. When I upload to Ubuntu VPS I am getting class not found errors.
I know this is because Linux is case sensitive.
To illustrate the problem below is the directory structure of my project.
In this structure I get class not found errors when I call class "Default_Form_User_Login".
This works fine on Windows.
And I can easily solve this in Linux by renaming the "forms/user" directory to "forms/User".
But I want to use lowercase names for all my directories. Is there a way to solve this problem without renaming the "user" directory?
I have also tried mod_spelling module of Apache and it works but I might not have access to enable this on certain servers, so this isn't a proper solution for me.
Thank you for your help.