Answer the question
In order to leave comments, you need to log in
Who will tell you how to install Magento 2.2 on OpenServer?
Unpacked the downloaded archive from the site to the OpenServer domain folder, OpenServer module settings: php 5.7, mysql 5.5, apache 2.4. Windows OS When I enter the page, I get an error 500.
Answer the question
In order to leave comments, you need to log in
A year and a half ago, I would have been very pleased with the answer to this question. Actually, I'm writing.
First, throw out all the old rubbish and if you are already doing it on Windows, then use the latest versions of the software, namely: nginx-1.11, php-7.1-x64, mysql-5.7-x64. Magenta supports all this without any problems.
On a fast PC, it will be useful to set up this bundle, at least giving php more memory and enabling opcache.
For understanding: earlier with a config like yours with version 2.0, the pages loaded for about 30 seconds in dev mode. Now with partial caches and the latest software versions, pages load in 1-2 seconds.
Second, use composerto install magenta. The archive method looks very outdated. Don't forget to create an account on the magenta marketplace, it's mandatory for composer to download packages from there.
Thirdly, for myself, I use the Nginx-1.11_vhost.conf file to support nginx. It must be placed in the domain folder.
server {
listen %ip%:%httpport%;
listen %ip%:%httpsport% ssl;
server_name %host% %aliases%;
ssl_certificate "%sprogdir%/userdata/config/cert_files/server.crt";
ssl_certificate_key "%sprogdir%/userdata/config/cert_files/server.key";
add_header Strict-Transport-Security "max-age=94608000; includeSubDomains; preload";
set $MAGE_ROOT "%sprogdir%/domains/domainname.localhost";
set $MAGE_MODE developer;
include "%sprogdir%/domains/domainname.localhost/nginx.dev-local.conf";
}
Error 500 on Open Server due to Open Server itself, you need to comment out everything in .htaccess with:
IfVersion < 2.4>
/IfVersion
but after deploying Magento2 there will be a white screen in the browser, without any errors in the log.
Throw a dark business in Windows, install a virtual machine with Magento2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question