Openemr 6.1 on Ubuntu 22: modules not found

Situation
On OpenEMR 6.1, I applied the 2 commands in a2enmod (headers, rewrite) and systemctl. Also, in Apache, I changed the line to Options=All and applied systemctl restart apache2. I enter in modules and it write: not found.

OpenEMR Version
OpenEMR 6.1 and 6.0 (patch4).

Browser:
I’m using: Firefox

Operating System
I’m using: Ubuntu 22

This is what I did for my installation, in the exact order:

sudo nano /etc/apache2/apache2.conf

Below <Directory /var/www/>, change
AllowOverride All
Require all granted

Then

sudo a2enmod headers

sudo a2enmod rewrite

sudo systemctl restart apache2

1 Like