From 55dbd0e43d4744aa5e1eb4f4f7c8a9cbc68df581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davi=20Ant=C3=B4nio=20da=20Silva=20Santos?= Date: Fri, 3 Mar 2023 11:36:20 -0300 Subject: Conflict with mod_php instead of disabling it The boca-web package will not try to disable Apache's php8.1 module (mod_php for PHP 8.1) anymore. It will conflict with the package that provides the offending module for the distribution's current PHP version, libapache2-mod-php. --- debian/boca-web.postinst | 3 --- debian/control | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'debian') diff --git a/debian/boca-web.postinst b/debian/boca-web.postinst index 824654c..5191e34 100644 --- a/debian/boca-web.postinst +++ b/debian/boca-web.postinst @@ -9,9 +9,6 @@ chmod -R go-rwx /var/www/boca/src/private # Stop the apache2 server before changing enabled modules systemctl stop apache2 -# Ensure that apache's embedded php module is not loaded -a2dismod php8.1 - # Configure HTTPS in Apache # See https://www.arubacloud.com/tutorial/how-to-enable-https-protocol-with-apache-2-on-ubuntu-20-04.aspx # Enable SSL module diff --git a/debian/control b/debian/control index c7af64c..7ea2089 100644 --- a/debian/control +++ b/debian/control @@ -32,6 +32,7 @@ Description: BOCA - database Package: boca-web Architecture: all Depends: ${misc:Depends}, ${shlibs:Depends}, boca-common, apache2, php8.1-fpm, php8.1 +Conflicts: libapache2-mod-php Description: BOCA - WEB files BOCA is a software created to control a contest with the ACM International Collegiate Programming Contest rules. It has been developed in PHP and the -- cgit v1.2.3