Here’s how to fix when phpinfo is displaying a blank page. The install is missing this php module.

<pre lang="bash">
apt install php libapache2-mod-php

Restart after install.

<pre lang="bash">
service apache2 restart