Hi all,
After really far too long scratching my head, I finally realised that the reason my autoloader wasn't working correctly was due to changes in system file-sensitivity. On my home test server (running MAMP on OS X Leopard), file names seem to be case-insensitive. However, when running the tests on an external, hosted Linux box, I got file errors as the system is case-sensitive.
This will get very annoying in the future, as the only way I can be sure my tests pass is to run on a separate server. Does anyone know how I might be able to enable, or simulate, case-sensitivity in my PHP configuration, or in a particular directory of my home server?
i don't know if this is a OS X or a PHP issue.
Case-sensitivity and filesystems
Moderator: General Moderators
Re: Case-sensitivity and filesystems
it seems it's because I chose the Case-Insensitive option when initially installing my operating system.
So, question for all you OS X PHP-devs out there - which of the two do you use? Case-sensitive or insensitive? Or do you run your web server on a separate partition with a case-sensitive filesystem? Are there any other tricks possible, in Apache or PHP, to get round the issue. I certainly won't consider changing the filesystem for my boot drive.
MOD - perhaps this thread needs to be moved somewhere else?
So, question for all you OS X PHP-devs out there - which of the two do you use? Case-sensitive or insensitive? Or do you run your web server on a separate partition with a case-sensitive filesystem? Are there any other tricks possible, in Apache or PHP, to get round the issue. I certainly won't consider changing the filesystem for my boot drive.
MOD - perhaps this thread needs to be moved somewhere else?