i have installed Magento 2.4.1 via Docker and tried to change to developer mode. The problem is, that the developer option dont show up in the settings. I have tried:

  1. Setting Developer Mode in nginx conf
  2. Setting Developer Mode in .htaccess
  3. Setting Developer Mode in the env.php
  4. Change it in the console with bin/magento deploy:mode:set developer the result: Enabled developer mode.

Any ideas why it does not work?

Thank you all

  • 1
    I've seen docker images where it's set in the container. Where is your image, docker file or compose file? Nov 19, 2020 at 0:38
  • It is Compose File
    – Make UP
    Nov 20, 2020 at 7:24
  • Ok it was one Environment Variable of the PHP Docker. Thank you very much !!!
    – Make UP
    Nov 20, 2020 at 8:02

2 Answers 2


Ok, there was a Docker with a environment variable. I changed it and now it is working. Thanks to @Dominic Xigen


Do you still have pub/static/.htaccess? Magento uses this file to generate the symlinks in the pub/static folder.

If not add this .htaccess file to the pub/static folder.

  • No there is no pub/static.htaccess file
    – Make UP
    Nov 20, 2020 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.