{"id":7908,"date":"2021-04-25T07:01:57","date_gmt":"2021-04-25T07:01:57","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=7908"},"modified":"2021-11-30T09:55:15","modified_gmt":"2021-11-30T09:55:15","slug":"install-shopware-6","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2021\/04\/25\/install-shopware-6\/","title":{"rendered":"Install Shopware 6"},"content":{"rendered":"<p>Read: https:\/\/websiteforstudents.com\/install-shopware-on-ubuntu-16-04-18-04-with-apache2-mariadb-and-php-7-1\/<br \/>\nhttps:\/\/docs.shopware.com\/en\/shopware-6-en\/tutorials-and-faq\/virtual-box-setup#configuration-of-apache<\/p>\n<p>Download the software (community edition) on https:\/\/www.shopware.com\/en\/download\/#shopware-6<br \/>\nExtract it on the web root in &#8216;shopware6&#8217; directory<\/p>\n<p>Create Apache2 Setting<br \/>\nCREATE A CONF<\/p>\n<pre class=\"lang:default decode:true\">sudo gedit \/etc\/apache2\/sites-available\/shopware6.test.conf<\/pre>\n<p>CONTENT<\/p>\n<pre class=\"lang:default decode:true\">&lt;VirtualHost shopware6.test:80&gt;\r\n    ServerName shopware6.test\r\n    DocumentRoot \"\/home\/teddy\/Documents\/works\/shopware6\/public\"\r\n    &lt;Directory \"\/home\/teddy\/Documents\/works\/shopware6\/public\"&gt; \r\n        #Options Indexes FollowSymLinks MultiViews \r\n        AllowOverride All \r\n        #Order allow,deny \r\n        allow from all \r\n        Require all granted\r\n    &lt;\/Directory&gt; \r\n\r\n    ErrorLog ${APACHE_LOG_DIR}\/shopware6.error.log \r\n    CustomLog ${APACHE_LOG_DIR}\/shopware6.access.log combined \r\n    LogLevel debug \r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>ENABLE THE VIRTUALHOST<\/p>\n<pre class=\"lang:default decode:true\">sudo a2ensite shopware6.test.conf<\/pre>\n<p>RELOAD APACHE2<\/p>\n<pre class=\"lang:default decode:true\">sudo systemctl reload apache2<\/pre>\n<p>CREATE THE HOST<\/p>\n<pre class=\"lang:default decode:true\">sudo gedit \/etc\/hosts<\/pre>\n<pre class=\"lang:default decode:true\">127.0.0.1 shopware6.test<\/pre>\n<p>SET THE FILE PERMISSIONS &amp; RELOAD APACHE2<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy:~$ sudo chown -R www-data:www-data \/home\/teddy\/Documents\/works\/shopware6\/\r\nteddy@teddy:~$ sudo chmod -R 777 \/home\/teddy\/Documents\/works\/shopware6\/<\/pre>\n<p>OPEN IT ON YOUR BROWSER: http:\/\/shopware6.test\/<br \/>\nFor the first time, It&#8217;d be redirected to http:\/\/shopware6.test\/recovery\/install\/index.php THEN Continue and Check if the server requirements are met. If not change php.ini file &#8211;&gt; check it on http:\/\/localhost\/phpinfo.php<br \/>\nit&#8217;s at \/etc\/php\/7.4\/apache2\/php.ini<\/p>\n<p>THEN CHANGE PHP7.4 APACHE2 SETTING:<\/p>\n<pre class=\"lang:default decode:true\">sudo gedit \/etc\/php\/7.4\/apache2\/php.ini<\/pre>\n<p>CHANGE THE CONTENT:<\/p>\n<pre class=\"lang:default decode:true \">upload_max_filesize = 4000M -&gt; (default 2M) \r\nmax_file_uploads = 2000 -&gt; (default 20) \r\npost_max_size = 4000M -&gt; (default 8M) \r\nmax_execution_time = 6000 -&gt; (default 30) in second \r\nmax_input_time = 6000 -&gt; (default 60) in second \r\nmemory_limit = 5120M -&gt; (default 128M)<\/pre>\n<p>THEN RESTART APACHE2 SERVICE:<\/p>\n<pre class=\"lang:default decode:true \">sudo systemctl reload apache2<\/pre>\n<p>CREATE A DATABASE &#8216;shopware6&#8217; WITH utf8mb4_unicode_520_ci<br \/>\nCREATE A NEW ADMIN USER:<br \/>\nUser: admin<br \/>\nPass: Admin123<\/p>\n<p>RESULT:<br \/>\nSTORE URL: http:\/\/shopware6.test\/<br \/>\nADMIN URL: http:\/\/shopware6.test\/admin#\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Read: https:\/\/websiteforstudents.com\/install-shopware-on-ubuntu-16-04-18-04-with-apache2-mariadb-and-php-7-1\/ https:\/\/docs.shopware.com\/en\/shopware-6-en\/tutorials-and-faq\/virtual-box-setup#configuration-of-apache Download the software (community edition) on https:\/\/www.shopware.com\/en\/download\/#shopware-6 Extract it on the web root in &#8216;shopware6&#8217; directory Create Apache2 Setting CREATE A CONF sudo gedit \/etc\/apache2\/sites-available\/shopware6.test.conf CONTENT &lt;VirtualHost shopware6.test:80&gt; ServerName shopware6.test DocumentRoot &#8220;\/home\/teddy\/Documents\/works\/shopware6\/public&#8221; &lt;Directory &#8220;\/home\/teddy\/Documents\/works\/shopware6\/public&#8221;&gt; #Options Indexes FollowSymLinks MultiViews AllowOverride All #Order allow,deny allow from all Require all granted &lt;\/Directory&gt; ErrorLog ${APACHE_LOG_DIR}\/shopware6.error.log CustomLog &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2021\/04\/25\/install-shopware-6\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Install Shopware 6&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110,13],"tags":[],"class_list":["post-7908","post","type-post","status-publish","format-standard","hentry","category-shopware","category-tutorial"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/7908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=7908"}],"version-history":[{"count":7,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/7908\/revisions"}],"predecessor-version":[{"id":8828,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/7908\/revisions\/8828"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=7908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=7908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=7908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}