Почему мои инструкции использования чувствительны к регистру в одной среде, а не в другой?Php

Кемеровские программисты php общаются здесь
Anonymous
Почему мои инструкции использования чувствительны к регистру в одной среде, а не в другой?

Сообщение Anonymous »


Few days ago i faced a problem in my production environment. Let's say i've got a FOOClass. When i tried to use it in another class i made a typo in the use statement like so use My\Namespace\FooClass;

There was no problem in dev and test environment but when i deploy my application in production, i've got an error because the application cannot find my class.

I'm using Symfony 5.4.25, PHP 8.1.23, Debian 11

I tried to find any configuration differences between environment (PHP configuration, Symfony configuration, server configuration ...) but i wasn't able to find anything.

Does anybody faced similar issue or know where can this missconfiguration come from ?

Thanks for your help


Источник: https://stackoverflow.com/questions/781 ... n-the-ther

Вернуться в «Php»