If you have PHP 7 but not PHP 5 - apps vhost doesn't work. It checks for mod_php5 but works with either - so check for either.

short description

If you only have PHP 7, the apps vhost doesn't work - it doesn't process PHP, rendering phpmyadmin and all other PHP apps nonfunctional

correct behaviour

Whichever version of PHP you are using, PHP should be enabled.

environment

Server OS: Ubuntu Server OS version: 16.10 ISPConfig version: 3.1dev you can use grep 'ISPC_APP_VERSION' /usr/local/ispconfig/server/lib/config.inc.php to get it from the command line

If it might be related to the problem

Server version: Apache/2.4.18 (Ubuntu)
Server built:   2018-04-18T14:53:04
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.28-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies

proposed fix

optional, of course.
if you want to post code snippets, please use

Insert:

  <IfModule mod_php7.c>
    DocumentRoot /var/www/apps
    AddType application/x-httpd-php .php
    <Directory /var/www/apps>
                Options FollowSymLinks
                AllowOverride None
                                Require all granted
                    </Directory>
  </IfModule>

below identical section for php 5 in /etc/apache2/sites-enabled/000-apps.vhost

Note - could be improved by If - else - /if rather than two sequential if statements, but given they do the same thing both running if you have both php 5 and php 7 is irrelevant.

As far as I can see, no downside to this fix - it now works with either PHP 5 or PHP 7.