Case-sensitivity and filesystems
Posted: Fri Apr 11, 2008 7:57 pm
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.
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.