Magento 2: 500 Internal Server Error
in developer mode the files are automatically generated when requested and not found. So this should not be a Problem.
When facing a 500 error the first thing you should do is search for your webserver error log.
When running on apache it can mostly be found in one of these 2 locations:
/var/log/httpd/ -> centos, archlinux ...
/var/log/apache2/ -> debian, ubuntu ...
Try to run following command in the Magento root and before running this command give the full permissions to the installation directory
php bin/magento setup:static-content:deploy -f
Solution: Internal Server Error!! Magento 2.2.2 Very Important !! especially for WAMPserver in windows10
- Please make sure that LoadModule version_module modules/mod_version.so is loaded from httpd.conf, This bug cause Internal Server Error of Magento 2.2.2 and if following setting got "#" , pls remove "#"
LoadModule version_module modules/mod_version.so
create a new folder and name it "static" after /pub/ looks like this: http://localhost/magento222/pub/static/ right click the "static" folder and click property to make sure if it is writable.
delete your old mysql database for magento222 and create a new one to make a clean and safe installation.
P.S.: Ver. 2.2.2 is not a stable version.