Skip to content

Commit 87205a8

Browse files
committed
Doc
1 parent e41e0b4 commit 87205a8

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

doc/Documentation SellYourSaas - Master and Deployment Servers - EN.asciidoc

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4648,18 +4648,22 @@ apt dist-upgrade or do-release-upgrade
46484648
46494649
# if you move from 18.04 to 20.04, you must also delete old repository of ondrej/php and and reinstall it with
46504650
sudo add-apt-repository ppa:ondrej/php
4651+
apt update
46514652
apt install php-mysql
46524653
a2enmod php7.4
46534654
apt remove php-fpm php7-fpm
46544655
46554656
# if you move from 20.04 to 22.04, you must enable the correct php version
4656-
a2dismod php7.4; a2enmod php8.1;
4657-
or apt install php7.4
4657+
sudo add-apt-repository ppa:ondrej/php
4658+
apt update
4659+
a2dismod php7.4; a2enmod php8.4;
4660+
a2enmod apparmor
4661+
or apt install php8.4 php8.4-mysql php8.4-zip php8.4-imap
46584662
# You must also remove an old apache2 UFW profile that is a duplicate with apache2-utils.ufw.profile
46594663
rm -fr /etc/ufw/.../apache2.2-common
46604664
# You must also remove old apparmor lxc profiles
46614665
apt remove lxc
4662-
rm -fr /etc/apparmor.d/lxc*
4666+
46634667
# Fix the script to stop apparmor:
46644668
vi /lib/apparmor/rc.apparmor.functions
46654669
# FIX LDR
@@ -4670,8 +4674,9 @@ vi /lib/apparmor/rc.apparmor.functions
46704674
46714675
46724676
# if you move from 22.04 to 24.04, you must enable the correct php version
4673-
apt install apache2; apt install libapache2-mod-apparmor; apt install php-tidy;
4674-
a2enmod php8.3; a2enmod apparmor
4677+
apt install apache2; apt install libapache2-mod-apparmor; apt install php8.4-tidy;
4678+
a2dismod php7.4; a2enmod php8.4;
4679+
a2enmod apparmor
46754680
a2disconf php8.3-fpm; a2enconf php8.3-fpm;
46764681
# You must also remove an old apache2 UFW profile that is duplicate with apache2-utils.ufw.profile
46774682
rm -fr apache2.2-common

0 commit comments

Comments
 (0)