Hi all, I have really strange problem here. On my vagrant instance I use folders 'controllers' and 'models' but on production server it works only when I rename folders to 'Controllers' and 'Models'. Both servers on Ubuntu 14.04 with case sensitive ext4. I use class loader by namespace like this:
$loader->registerNamespaces(array(
'MyApp' => __DIR__ . '/',
'PhpAmqpLib' => __DIR__ . '/../vendor/PhpAmqpLib'
));
How can it be? =)
The answer: It turns that vagrant sync folders doesn't support case sensitive filenames if it is not supported on the host. Sorry. =(