I've installed Magento OpenSource/Commerce 2.2.3 with Sample Data on a GoDaddy VPS solution. Installatron continually failed at the DB creation phase, so I uploaded the zip to the public_html folder and manually unzipped it. No errors in the extraction process.
Now I get a 500 internal server error, even when I attempt to manually go to the setup URL to complete the installation/setup wizard.
A check of my cPanel Errors file returns this error:
"[Mon Mar 26 17:37:47.953235 2018] [core:alert] [pid 27278] [client 66.249.69.41:61375] /dir-snipped/public_html/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.ibuildthings.com/"
The ", referer: http..." portion doesn't always show up in the error." I'm just typing the domain, or www(dot)domain, or domain/setup in my attempt to invoke the setup wizard for Magento.
Of course I'll be appreciative of any assistance that can be offered. Thanks!
Hello steven_burns,
Magento internal server error 500 is a general HTTP status code in which something has gone wrong with the site's server, but the server could not identify the exact issue.
If you're facing Error 500 after installing magento, it can be because the server can't return the requested page. However, here are some causes for the error to occur,
To fix the error, you can follow the steps below:
For Magento 2, the Developer Mode will be enabled when you run the following command,
php bin/magento deploy:mode:set developer
Permission issues:
Misconfigured permissions are one of the most common reasons for the Magento server error 500,
Increase PHP_VALUE MEMORY_LIMIT:
The error appears when your server lacks the resources to run Magento. Thus, Increase your PHP memory limit to resolve the issue,
php_value memory_limit 256M
Rename .htaccess File:
If you find issues in the .htaccess file that caused the Magento 2 Error 500 on your website, try renaming the .htaccess file. Lastly, check the error logs in /var/log/httpd or /var/log/apache2. If there are other issues, you must correct the configurations to fix the issue.
Install the CURL Extension:
One of the errors that you usually encounter is the missing CURL extension. It can also cause Magento 500 Internal Server Error.
yum install curl libcurl3 libcurl3-dev php5-curl
Thus, I hope the above ways help you to fix Error 500 after installing magento.
-----------------------
Regards,
Rex M
VPS Hosting | Magento Hosting