I have myself created a 19.04 system with:
- libapache2-mod-php + libapache2-mod-php7.2
- as expected on configure does this automatically
- This is from /var/lib/dpkg/info/libapache2-mod-php7.2.postinst
php_invoke enmod 7.2 apache2 $mod
- Created the most trivial PHP (index.php with phpinfo in /var/www/html/index.php
- Upgraded from 19.04 to 19.10
- Confirmed to hit the described isse
# ll /etc/apache2/mods-available/*php* /etc/apache2/mods-enabled/*php*
ls: cannot access '/etc/apache2/mods-enabled/*php*': No such file or directory
-rw-r--r-- 1 root root 855 Oct 24 11:38 /etc/apache2/mods-available/php7.3.conf
-rw-r--r-- 1 root root 102 Oct 24 11:38 /etc/apache2/mods-available/php7.3.load
I have myself created a 19.04 system with: mod-php7. 2 dpkg/info/ libapache2- mod-php7. 2.postinst html/index. php
- libapache2-mod-php + libapache2-
- as expected on configure does this automatically
- This is from /var/lib/
php_invoke enmod 7.2 apache2 $mod
- Created the most trivial PHP (index.php with phpinfo in /var/www/
- Upgraded from 19.04 to 19.10
- Confirmed to hit the described isse
# ll /etc/apache2/ mods-available/ *php* /etc/apache2/ mods-enabled/ *php* mods-enabled/ *php*': No such file or directory mods-available/ php7.3. conf mods-available/ php7.3. load
ls: cannot access '/etc/apache2/
-rw-r--r-- 1 root root 855 Oct 24 11:38 /etc/apache2/
-rw-r--r-- 1 root root 102 Oct 24 11:38 /etc/apache2/
And the server now serving the PHP code.