Apache Server and Proxy server Apache 2 | Installing on local drive Do you have it? Check systemctl status apache2 Install Apache2 apt install apache2 Check for listening ports netstat-tulpn Install php 7.2 and Apache2 mod apt install php (use this and/or change the below to the correct vertion for today and update all modules. they are required for nextcloud Install each PHP as needed apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php-apcu php-smbclient php7.2-ldap php-redis php7.2-gd php7.2-xml php7.2-intl php7.2-json php-imagick php7.2-mysql php7.2-cli php7.2-ldap php7.2-zip php7.2-curl Edit php text file to set parameters sudo nano /etc/php/7.2/apache2/php.ini     Edit these parameters:     - opcache.enable=1     - opcache.enable_cli=1     - opcache.interned_strings_buffer=8     - opcache.max_accelerated_files=10000     - opcache.memory_consumption=128     - opcache.save_comments=1     - opcache.revalidate_freq=1