# Anleitung - Installation Ubuntu 20.04 VPS - Shopware 6 - Apache2

**URL:** <https://forum.shopware.com/t/anleitung-installation-ubuntu-20-04-vps-shopware-6-apache2/93279>\
**Category:** Installation / Einstieg\
**Created:** [6. März 2022 um 19:28 UTC](https://forum.shopware.com/t/anleitung-installation-ubuntu-20-04-vps-shopware-6-apache2/93279 "2022-03-06T19:28:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sven-sw](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sven-sw](https://forum.shopware.com/u/sven-sw)\
**Post date:** [7. März 2022 um 05:37 UTC](https://forum.shopware.com/t/anleitung-installation-ubuntu-20-04-vps-shopware-6-apache2/93279/4 "2022-03-07T05:37:56Z")

</div>

Hallo Forum.

die Antwort von @SCOOPEX hat der Problemlösung nichts beigetragen.

Jetzt gibt es mit einem Internetbrowseraufruf folgenden Hinweis:

**Fatal error** : Uncaught LogicException: Extension DOM is required. in /var/www/html/vendor/symfony/config/Util/XmlUtils.php:50 Stack trace: #0 /var/www/html/vendor/symfony/config/Util/XmlUtils.php(146): Symfony\Component\Config\Util\XmlUtils::parse() #1 /var/www/html/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(405): Symfony\Component\Config\Util\XmlUtils::loadFile() #2 /var/www/html/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(50): Symfony\Component\DependencyInjection\Loader\XmlFileLoader-\>parseFileToDOM() #3 /var/www/html/vendor/shopware/core/Framework/Framework.php(59): Symfony\Component\DependencyInjection\Loader\XmlFileLoader-\>load() #4 /var/www/html/vendor/symfony/http-kernel/Kernel.php(678): Shopware\Core\Framework\Framework-\>build() #5 /var/www/html/vendor/symfony/http-kernel/Kernel.php(649): Symfony\Component\HttpKernel\Kernel-\>prepareContainer() #6 /var/www/html/vendor/symfony/http-kernel/Kernel.php(547): Symfony\Component\HttpKernel\Kernel-\>buildContainer() #7 /var/www/html/vendor/shopware/core/Kernel.php(194): Symfony\Component\HttpKernel\Kernel-\>initializeContainer() #8 /var/www/html/vendor/shopware/recovery/Install/src/app.php(45): Shopware\Core\Kernel-\>boot() #9 /var/www/html/vendor/shopware/recovery/Install/index.php(74): getApplication() #10 /var/www/html/public/recovery/install/index.php(6): require\_once(‚…‘) #11 {main} thrown in **/var/www/html/vendor/symfony/config/Util/XmlUtils.php** on line **50**

Ist **PHP 8.0.16** und **MariaDB-1:10.7.3** mit **Shopware 6.4.8.1** compatibel?

Meine /etc/apache2/sites-available/000-default.conf

```auto
<VirtualHost *:80>
        # The ServerName directive sets the request scheme, hostname and port that
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request's Host: header to
        # match this virtual host. For the default virtual host (this file) this
        # value is not decisive as it is used as a last resort host regardless.
        # However, you must set it for any further virtual host explicitly.
        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

```

Wo finde ich eine funktionierende Anleitung, wie löse ich das Problem?

VG  
sven-sw

Aus 2019

> [@Shopware Root Directory -\> You should not be able to see this page](https://forum.shopware.com/t/shopware-root-directory-you-should-not-be-able-to-see-this-page/61715/8):
>
> Vhost Config habe ich schon nachgesehen. Der Pfad zum DocumentRoot ist der, der er sein soll. Nirgendwo gibt es eine Konfiguration, dass auf /public\_html eine Domain routen würde oder /public\_html der DocumentRoot wäre. Das /public\_html Verzeichnis ist deswegen über www nicht erreichbar, eben weil der DocumentRoot für die TLD Domain auf /public\_html/hauptdomain routet. Das Einzige, was ich mir als Ursache vorstellen kann, ist dass der Shopware Installer nicht den Pfad vom DocumentRoot ausliest, …

@serpent_driver  
Hast Du konkreter Lösungsansätze für mich?  
Nach welcher Anleitung sollte ich vorgehen?

---

_[View the full topic](https://forum.shopware.com/t/anleitung-installation-ubuntu-20-04-vps-shopware-6-apache2/93279)._
