Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##### NC Upadte auf V19 #####
- cd /var/www/nextcloud
- sudo -u www-data php occ upgrade
- sudo -u www-data php occ maintenance:mode --off
- nano .htaccess
- Header set Strict-Transport-Security "max-age=31536000; includeSubDomains;
- ##### PHP 7.2 zu PHP 7.4 #####
- apt install software-properties-common
- add-apt-repository ppa:ondrej/php
- apt update
- apt install php7.4 php7.4-common php7.4-cli
- apt install php7.4-curl php7.4-mbstring php7.4-bz2 php7.4-readline php7.4-intl
- apt install php7.4-bcmath php7.4-bz2 php7.4-curl php7.4-intl php7.4-mbstring php7.4-mysql php7.4-readline php7.4-xml php7.4-zip php7.4-apcu php7.4-redis
- a2dismod php7.2
- a2enmod php7.4
- service apache2 restart
- php -v
- apt purge php7.2 php7.2-common
- service apache2 restart
- nano /etc/php/7.4/apache2/php.ini
- upload_max_filesize = 50G
- post_max_size = 50G
- memory_limit = 256M
- max_execution_time = 600
- max_input_vars = 3000
- date.timezone = Europe/Berlin
- 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
- service apache2 restart
Add Comment
Please, Sign In to add comment