Before the upgrade I collected the following ----------------------------------------------------------- llist@dc1:~$ sudo apache2ctl -M [sudo] password for llist: Loaded Modules: core_module (static) so_module (static) watchdog_module (static) http_module (static) log_config_module (static) logio_module (static) version_module (static) unixd_module (static) access_compat_module (shared) alias_module (shared) auth_basic_module (shared) authn_core_module (shared) authn_file_module (shared) authz_core_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) filter_module (shared) headers_module (shared) mime_module (shared) mpm_prefork_module (shared) negotiation_module (shared) php7_module (shared) rewrite_module (shared) security2_module (shared) setenvif_module (shared) socache_shmcb_module (shared) ssl_module (shared) status_module (shared) unique_id_module (shared) llist@dc1:~$ ls -lsa /etc/apache2/mods-enabled/ total 8 4 drwxr-xr-x 2 root root 4096 Jun 5 02:38 . 4 drwxr-xr-x 9 root root 4096 Jul 31 23:11 .. 0 lrwxrwxrwx 1 root root 36 Nov 17 2016 access_compat.load -> ../mods-available/access_compat.load 0 lrwxrwxrwx 1 root root 28 Nov 17 2016 alias.conf -> ../mods-available/alias.conf 0 lrwxrwxrwx 1 root root 28 Nov 17 2016 alias.load -> ../mods-available/alias.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 auth_basic.load -> ../mods-available/auth_basic.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authn_core.load -> ../mods-available/authn_core.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authn_file.load -> ../mods-available/authn_file.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authz_core.load -> ../mods-available/authz_core.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authz_host.load -> ../mods-available/authz_host.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authz_user.load -> ../mods-available/authz_user.load 0 lrwxrwxrwx 1 root root 32 Nov 17 2016 autoindex.conf -> ../mods-available/autoindex.conf 0 lrwxrwxrwx 1 root root 32 Nov 17 2016 autoindex.load -> ../mods-available/autoindex.load 0 lrwxrwxrwx 1 root root 30 Nov 17 2016 deflate.conf -> ../mods-available/deflate.conf 0 lrwxrwxrwx 1 root root 30 Nov 17 2016 deflate.load -> ../mods-available/deflate.load 0 lrwxrwxrwx 1 root root 26 Nov 17 2016 dir.conf -> ../mods-available/dir.conf 0 lrwxrwxrwx 1 root root 26 Nov 17 2016 dir.load -> ../mods-available/dir.load 0 lrwxrwxrwx 1 root root 26 Nov 17 2016 env.load -> ../mods-available/env.load 0 lrwxrwxrwx 1 root root 29 Nov 17 2016 filter.load -> ../mods-available/filter.load 0 lrwxrwxrwx 1 root root 30 Jun 5 02:38 headers.load -> ../mods-available/headers.load 0 lrwxrwxrwx 1 root root 27 Nov 17 2016 mime.conf -> ../mods-available/mime.conf 0 lrwxrwxrwx 1 root root 27 Nov 17 2016 mime.load -> ../mods-available/mime.load 0 lrwxrwxrwx 1 root root 34 Nov 17 2016 mpm_prefork.conf -> ../mods-available/mpm_prefork.conf 0 lrwxrwxrwx 1 root root 34 Nov 17 2016 mpm_prefork.load -> ../mods-available/mpm_prefork.load 0 lrwxrwxrwx 1 root root 34 Nov 17 2016 negotiation.conf -> ../mods-available/negotiation.conf 0 lrwxrwxrwx 1 root root 34 Nov 17 2016 negotiation.load -> ../mods-available/negotiation.load 0 lrwxrwxrwx 1 root root 29 Nov 17 2016 php7.0.conf -> ../mods-available/php7.0.conf 0 lrwxrwxrwx 1 root root 29 Nov 17 2016 php7.0.load -> ../mods-available/php7.0.load 0 lrwxrwxrwx 1 root root 30 Jan 5 2017 rewrite.load -> ../mods-available/rewrite.load 0 lrwxrwxrwx 1 root root 32 Jan 5 2017 security2.conf -> ../mods-available/security2.conf 0 lrwxrwxrwx 1 root root 32 Jan 5 2017 security2.load -> ../mods-available/security2.load 0 lrwxrwxrwx 1 root root 31 Nov 17 2016 setenvif.conf -> ../mods-available/setenvif.conf 0 lrwxrwxrwx 1 root root 31 Nov 17 2016 setenvif.load -> ../mods-available/setenvif.load 0 lrwxrwxrwx 1 root root 36 Jan 27 2017 socache_shmcb.load -> ../mods-available/socache_shmcb.load 0 lrwxrwxrwx 1 root root 26 Jan 27 2017 ssl.conf -> ../mods-available/ssl.conf 0 lrwxrwxrwx 1 root root 26 Jan 27 2017 ssl.load -> ../mods-available/ssl.load 0 lrwxrwxrwx 1 root root 29 Nov 17 2016 status.conf -> ../mods-available/status.conf 0 lrwxrwxrwx 1 root root 29 Nov 17 2016 status.load -> ../mods-available/status.load 0 lrwxrwxrwx 1 root root 32 Jan 5 2017 unique_id.load -> ../mods-available/unique_id.load ---------------------------------------------------------------------------------------------------- After the upgrade I got this -------------------------------- llist@dc1:~$ sudo apache2ctl -M [sudo] password for llist: Loaded Modules: core_module (static) so_module (static) watchdog_module (static) http_module (static) log_config_module (static) logio_module (static) version_module (static) unixd_module (static) access_compat_module (shared) alias_module (shared) auth_basic_module (shared) authn_core_module (shared) authn_file_module (shared) authz_core_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) filter_module (shared) headers_module (shared) mime_module (shared) mpm_prefork_module (shared) negotiation_module (shared) reqtimeout_module (shared) rewrite_module (shared) security2_module (shared) setenvif_module (shared) socache_shmcb_module (shared) ssl_module (shared) status_module (shared) unique_id_module (shared) llist@dc1:~$ ls -lsa /etc/apache2/mods-enabled/ total 8 4 drwxr-xr-x 2 root root 4096 Aug 20 23:51 . 4 drwxr-xr-x 9 root root 4096 Aug 20 23:46 .. 0 lrwxrwxrwx 1 root root 36 Nov 17 2016 access_compat.load -> ../mods-available/access_compat.load 0 lrwxrwxrwx 1 root root 28 Nov 17 2016 alias.conf -> ../mods-available/alias.conf 0 lrwxrwxrwx 1 root root 28 Nov 17 2016 alias.load -> ../mods-available/alias.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 auth_basic.load -> ../mods-available/auth_basic.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authn_core.load -> ../mods-available/authn_core.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authn_file.load -> ../mods-available/authn_file.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authz_core.load -> ../mods-available/authz_core.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authz_host.load -> ../mods-available/authz_host.load 0 lrwxrwxrwx 1 root root 33 Nov 17 2016 authz_user.load -> ../mods-available/authz_user.load 0 lrwxrwxrwx 1 root root 32 Nov 17 2016 autoindex.conf -> ../mods-available/autoindex.conf 0 lrwxrwxrwx 1 root root 32 Nov 17 2016 autoindex.load -> ../mods-available/autoindex.load 0 lrwxrwxrwx 1 root root 30 Nov 17 2016 deflate.conf -> ../mods-available/deflate.conf 0 lrwxrwxrwx 1 root root 30 Nov 17 2016 deflate.load -> ../mods-available/deflate.load 0 lrwxrwxrwx 1 root root 26 Nov 17 2016 dir.conf -> ../mods-available/dir.conf 0 lrwxrwxrwx 1 root root 26 Nov 17 2016 dir.load -> ../mods-available/dir.load 0 lrwxrwxrwx 1 root root 26 Nov 17 2016 env.load -> ../mods-available/env.load 0 lrwxrwxrwx 1 root root 29 Nov 17 2016 filter.load -> ../mods-available/filter.load 0 lrwxrwxrwx 1 root root 30 Jun 5 02:38 headers.load -> ../mods-available/headers.load 0 lrwxrwxrwx 1 root root 27 Nov 17 2016 mime.conf -> ../mods-available/mime.conf 0 lrwxrwxrwx 1 root root 27 Nov 17 2016 mime.load -> ../mods-available/mime.load 0 lrwxrwxrwx 1 root root 34 Nov 17 2016 mpm_prefork.conf -> ../mods-available/mpm_prefork.conf 0 lrwxrwxrwx 1 root root 34 Nov 17 2016 mpm_prefork.load -> ../mods-available/mpm_prefork.load 0 lrwxrwxrwx 1 root root 34 Nov 17 2016 negotiation.conf -> ../mods-available/negotiation.conf 0 lrwxrwxrwx 1 root root 34 Nov 17 2016 negotiation.load -> ../mods-available/negotiation.load 0 lrwxrwxrwx 1 root root 33 Aug 20 23:46 reqtimeout.conf -> ../mods-available/reqtimeout.conf 0 lrwxrwxrwx 1 root root 33 Aug 20 23:46 reqtimeout.load -> ../mods-available/reqtimeout.load 0 lrwxrwxrwx 1 root root 30 Jan 5 2017 rewrite.load -> ../mods-available/rewrite.load 0 lrwxrwxrwx 1 root root 32 Jan 5 2017 security2.conf -> ../mods-available/security2.conf 0 lrwxrwxrwx 1 root root 32 Jan 5 2017 security2.load -> ../mods-available/security2.load 0 lrwxrwxrwx 1 root root 31 Nov 17 2016 setenvif.conf -> ../mods-available/setenvif.conf 0 lrwxrwxrwx 1 root root 31 Nov 17 2016 setenvif.load -> ../mods-available/setenvif.load 0 lrwxrwxrwx 1 root root 36 Jan 27 2017 socache_shmcb.load -> ../mods-available/socache_shmcb.load 0 lrwxrwxrwx 1 root root 26 Jan 27 2017 ssl.conf -> ../mods-available/ssl.conf 0 lrwxrwxrwx 1 root root 26 Jan 27 2017 ssl.load -> ../mods-available/ssl.load 0 lrwxrwxrwx 1 root root 29 Nov 17 2016 status.conf -> ../mods-available/status.conf 0 lrwxrwxrwx 1 root root 29 Nov 17 2016 status.load -> ../mods-available/status.load 0 lrwxrwxrwx 1 root root 32 Jan 5 2017 unique_id.load -> ../mods-available/unique_id.load -------------------------------------------------------------------------- There are two things I noticed After the upgrade there was an additional modue 'reqtimeout_module' and the 'php7_module' is missing. The php version is now -------- llist@dc1:~$ php -v PHP 7.2.7-0ubuntu0.18.04.2 (cli) (built: Jul 4 2018 16:55:24) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.7-0ubuntu0.18.04.2, Copyright (c) 1999-2018, by Zend Technologies ---------- but only on this server. The server I previously upgraded stayed on 7.0 I then installed the missing packages as per this post https://www.vultr.com/docs/how-to-install-and-configure-php-70-or-php-71-on-ubuntu-16-04 Only change was to 7.2 instead of 7 --------------- llist@dc1:~$ sudo apt-get install -y php7.2 libapache2-mod-php7.2 php7.2-cli php7.2-common php7.2-mbstring php7.2-gd php7.2-intl php7.2-xml php7.2-mysql php7.2-zip Reading package lists... Done Building dependency tree Reading state information... Done libapache2-mod-php7.2 is already the newest version (7.2.7-0ubuntu0.18.04.2). libapache2-mod-php7.2 set to manually installed. php7.2 is already the newest version (7.2.7-0ubuntu0.18.04.2). php7.2 set to manually installed. php7.2-cli is already the newest version (7.2.7-0ubuntu0.18.04.2). php7.2-cli set to manually installed. php7.2-common is already the newest version (7.2.7-0ubuntu0.18.04.2). php7.2-common set to manually installed. php7.2-mysql is already the newest version (7.2.7-0ubuntu0.18.04.2). php7.2-mysql set to manually installed. The following packages were automatically installed and are no longer required: libapache2-mod-security2 libmcrypt4 libyajl2 modsecurity-crs Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: php7.2-gd php7.2-intl php7.2-mbstring php7.2-xml php7.2-zip 0 to upgrade, 5 to newly install, 0 to remove and 0 not to upgrade. Need to get 760 kB of archives. After this operation, 2,901 kB of additional disk space will be used. Get:1 http://au.archive.ubuntu.com/ubuntu bionic-updates/main amd64 php7.2-gd amd64 7.2.7-0ubuntu0.18.04.2 [27.1 kB] Get:2 http://au.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php7.2-intl amd64 7.2.7-0ubuntu0.18.04.2 [124 kB] Get:3 http://au.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php7.2-mbstring amd64 7.2.7-0ubuntu0.18.04.2 [481 kB] Get:4 http://au.archive.ubuntu.com/ubuntu bionic-updates/main amd64 php7.2-xml amd64 7.2.7-0ubuntu0.18.04.2 [107 kB] Get:5 http://au.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php7.2-zip amd64 7.2.7-0ubuntu0.18.04.2 [20.3 kB] Fetched 760 kB in 2s (313 kB/s) Selecting previously unselected package php7.2-gd. (Reading database ... 83323 files and directories currently installed.) Preparing to unpack .../php7.2-gd_7.2.7-0ubuntu0.18.04.2_amd64.deb ... Unpacking php7.2-gd (7.2.7-0ubuntu0.18.04.2) ... Selecting previously unselected package php7.2-intl. Preparing to unpack .../php7.2-intl_7.2.7-0ubuntu0.18.04.2_amd64.deb ... Unpacking php7.2-intl (7.2.7-0ubuntu0.18.04.2) ... Selecting previously unselected package php7.2-mbstring. Preparing to unpack .../php7.2-mbstring_7.2.7-0ubuntu0.18.04.2_amd64.deb ... Unpacking php7.2-mbstring (7.2.7-0ubuntu0.18.04.2) ... Selecting previously unselected package php7.2-xml. Preparing to unpack .../php7.2-xml_7.2.7-0ubuntu0.18.04.2_amd64.deb ... Unpacking php7.2-xml (7.2.7-0ubuntu0.18.04.2) ... Selecting previously unselected package php7.2-zip. Preparing to unpack .../php7.2-zip_7.2.7-0ubuntu0.18.04.2_amd64.deb ... Unpacking php7.2-zip (7.2.7-0ubuntu0.18.04.2) ... Setting up php7.2-gd (7.2.7-0ubuntu0.18.04.2) ... Creating config file /etc/php/7.2/mods-available/gd.ini with new version Setting up php7.2-xml (7.2.7-0ubuntu0.18.04.2) ... Creating config file /etc/php/7.2/mods-available/dom.ini with new version Creating config file /etc/php/7.2/mods-available/simplexml.ini with new version Creating config file /etc/php/7.2/mods-available/wddx.ini with new version Creating config file /etc/php/7.2/mods-available/xml.ini with new version Creating config file /etc/php/7.2/mods-available/xmlreader.ini with new version Creating config file /etc/php/7.2/mods-available/xmlwriter.ini with new version Creating config file /etc/php/7.2/mods-available/xsl.ini with new version Setting up php7.2-zip (7.2.7-0ubuntu0.18.04.2) ... Creating config file /etc/php/7.2/mods-available/zip.ini with new version Setting up php7.2-mbstring (7.2.7-0ubuntu0.18.04.2) ... Creating config file /etc/php/7.2/mods-available/mbstring.ini with new version Setting up php7.2-intl (7.2.7-0ubuntu0.18.04.2) ... Creating config file /etc/php/7.2/mods-available/intl.ini with new version Processing triggers for libapache2-mod-php7.2 (7.2.7-0ubuntu0.18.04.2) ... --------------- Restarted Apache2; no joy I then noticed that the php7_module still wasn't enabled. After I enabled it everything works ok now. So the remaining bug is the fact that the upgrade seems to disable the php module.