I just finished with this whole website and all is working fine, I want to install french pack via ssh, I had problem with memory so I used root access to install and the installation was successful,

when I turned back to the website I couldn't access and I get this

Error 500 - Internal Server Error An error was encountered while processing your request. Typically this is a temporary condition. Please contact the web site owner for further assistance.

when I delete .htaccess I can access the front page only with no css, If I click on a link I got 404 Error

the module doesn't appear when I check modules status using

php bin/magento module:status

so I can't disable or delete it, even if I rename the vendor/imaginaerum folder nothing change

I also ran

find . -type d -exec chmod 500 {} \;
find . -type f -exec chmod 664 {} \;
chmod 777 -R downloader var media

to fix if any file permission but no result also

the French package I've installed http://imaginaerum.github.io/magento2-language-fr-fr/

  • Try to retart your server, if still it doesn't work remove this translation module then restart the server again
    – PЯINCƎ
    Commented Apr 2, 2018 at 21:27
  • I just restarted my VPS server bust still same error I deleted the module folder under vendor/imaginaerum also
    – SoCix
    Commented Apr 2, 2018 at 21:33
  • Which french pack did you install? What does your server log says? Commented Apr 2, 2018 at 21:34
  • this is the pack I installed imaginaerum.github.io/magento2-language-fr-fr
    – SoCix
    Commented Apr 2, 2018 at 21:35
  • this is the log message public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    – SoCix
    Commented Apr 2, 2018 at 21:36

2 Answers 2


The problem was that the Apache that he has has no module_version check and the <IfVersion> tags in the htaccess where not recognized. We temporarily removed them and he will see this with his host


After some more digging we installed mod_version on the apache and now it works


Most of 500 Errors are file permission issues.

I had this error before, the problem is in the files permissions.

Please follow this link to set the right permissions.


cd <your Magento install dir>
find var generated vendor pub/static pub/media app/etc -type f -exec chmod u+w {} \;
find var vendor generated pub/static pub/media app/etc -type d -exec chmod u+w {} \;
chmod u+x bin/magento

you can also try to execute upgrade command to see if there are any errors or missed PHP extensions

php bin/magento setup:upgrade

this also was answered in this question https://magento.stackexchange.com/a/219944/31830

  • 500 errors are NOT definitely permissions based at all. 500 errors can be a whole spectrum of server related issues, .htaccess issues etc etc Commented Apr 2, 2018 at 22:54

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.