title: PHP of Phpmyadmin does not execute but other php scripts work
body: <p>When calling the phpmyadmin website a "save file" dialog appears for <code>application/x-httpd-php-</code> so my server does not execute the phpmyadmin php script but transfers the code to my browser. Other php such as roundcube or ispconfig work as supposed.</p>
  
  <ul>
  <li>I found a topic here that stated to enable short_open_tags in the php.ini but that did not help (i.e. it already was enabled by default).</li>
  <li>Also, I checked to have installed and enabled the apache 2 php5 modules.</li>
  <li>In the logs files obviously no errors are listed.</li>
  <li>I wondered if the phpmyadmin.conf is even regarded, as only a symlink is pointing to /usr/share/phpmyadmin in the etc/apache2/conf.d/ directory, but since the Alias /phpmyadmin works, this is not the problem.</li>
  <li>I checked the apache2 config files but could not find anything wrong. </li>
  </ul>
  
  <p>Nevertheless I'd like to post some here:
  apache2.conf</p>
  
  <pre><code>&lt;IfModule mpm_prefork_module&gt;
      StartServers          5
      MinSpareServers       5
      MaxSpareServers      10
      MaxClients          150
      MaxRequestsPerChild   0
  &lt;/IfModule&gt;
  &lt;IfModule mpm_worker_module&gt;
      StartServers          2
      MinSpareThreads      25
      MaxSpareThreads      75
      ThreadLimit          64
      ThreadsPerChild      25
      MaxClients          150
      MaxRequestsPerChild   0
  &lt;/IfModule&gt;
  &lt;IfModule mpm_event_module&gt;
      StartServers          2
      MinSpareThreads      25
      MaxSpareThreads      75
      ThreadLimit          64
      ThreadsPerChild      25
      MaxClients          150
      MaxRequestsPerChild   0
  &lt;/IfModule&gt;
  User ${APACHE_RUN_USER}
  Group ${APACHE_RUN_GROUP}
  AccessFileName .htaccess
  &lt;Files ~ "^\.ht"&gt;
      Order allow,deny
      Deny from all
      Satisfy all
  &lt;/Files&gt;
  DefaultType None
  HostnameLookups Off
  ErrorLog ${APACHE_LOG_DIR}/error.log
  LogLevel warn
  Include mods-enabled/*.load
  Include mods-enabled/*.conf
  Include ports.conf
  LogFormat "%v:%p %h %l %u %t \"%r\" %&gt;s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  LogFormat "%h %l %u %t \"%r\" %&gt;s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  LogFormat "%h %l %u %t \"%r\" %&gt;s %O" common
  LogFormat "%{Referer}i -&gt; %U" referer
  LogFormat "%{User-agent}i" agent
  Include conf.d/
  Include sites-enabled/
  </code></pre>
  
  <p>phpmyadmin.conf</p>
  
  <pre><code>Alias /phpmyadmin /usr/share/phpmyadmin
  &lt;Directory /usr/share/phpmyadmin&gt;
          Options FollowSymLinks
          DirectoryIndex index.php
          &lt;IfModule mod_php5.c&gt;
                  AddType application/x-httpd-php .php
                  php_flag magic_quotes_gpc Off
                  php_flag track_vars On
                  php_flag register_globals Off
                  php_admin_flag allow_url_fopen Off
                  php_value include_path .
                  php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
                  php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/
          &lt;/IfModule&gt;
  &lt;/Directory&gt;
  &lt;Directory /usr/share/phpmyadmin/setup&gt;
      &lt;IfModule mod_authn_file.c&gt;
      AuthType Basic
      AuthName "phpMyAdmin Setup"
      AuthUserFile /etc/phpmyadmin/htpasswd.setup
      &lt;/IfModule&gt;
      Require valid-user
  &lt;/Directory&gt;
  &lt;Directory /usr/share/phpmyadmin/libraries&gt;
      Order Deny,Allow
      Deny from All
  &lt;/Directory&gt;
  &lt;Directory /usr/share/phpmyadmin/setup/lib&gt;
      Order Deny,Allow
      Deny from All
  &lt;/Directory&gt;
  </code></pre>
  
  <p>These are the enabled apache 2 mods:</p>
  
  <pre><code> actions alias auth_basic auth_digest authn_file authz_default authz_groupfile authz_host authz_user autoindex cgi dav dav_fs deflate dir env fcgid include mime negotiation php5 reqtimeout rewrite ruby setenvif ssl status suexec suphp
  </code></pre>
  
  <p>and the installed packages related to apache 2 or php:</p>
  
  <pre><code>ii  libapache2-mod-php5                  5.4.4-14                     i386         server-side, HTML-embedded scripting language (Apache 2 module)
  ii  libapache2-mod-suphp                 0.7.1-3                      i386         Apache2 module to run PHP scripts with the owner permissions
  ii  php-auth                             1.6.2-1                      all          PHP PEAR modules for creating an authentication system
  ii  php-pear                             5.4.4-14                     all          PEAR - PHP Extension and Application Repository
  ii  php5                                 5.4.4-14                     all          server-side, HTML-embedded scripting language (metapackage)
  ii  php5-cgi                             5.4.4-14                     i386         server-side, HTML-embedded scripting language (CGI binary)
  ii  php5-cli                             5.4.4-14                     i386         command-line interpreter for the php5 scripting language
  ii  php5-common                          5.4.4-14                     i386         Common files for packages built from the php5 source
  ii  php5-curl                            5.4.4-14                     i386         CURL module for php5
  ii  php5-gd                              5.4.4-14                     i386         GD module for php5
  ii  php5-imagick                         3.1.0~rc1-1+b2               i386         ImageMagick module for php5
  ii  php5-imap                            5.4.4-14                     i386         IMAP module for php5
  ii  php5-intl                            5.4.4-14                     i386         internationalisation module for php5
  ii  php5-mcrypt                          5.4.4-14                     i386         MCrypt module for php5
  ii  php5-mysql                           5.4.4-14                     i386         MySQL module for php5
  ii  phpmyadmin                           4:3.4.11.1-2                 all          MySQL web administration tool
  ii  suphp-common                         0.7.1-3                      i386         Common files for mod suphp
  ii  apache2                              2.2.22-13                    i386         Apache HTTP Server metapackage
  ii  apache2-doc                          2.2.22-13                    all          Apache HTTP Server documentation
  ii  apache2-mpm-prefork                  2.2.22-13                    i386         Apache HTTP Server - traditional non-threaded model
  ii  apache2-suexec                       2.2.22-13                    i386         Standard suexec program for Apache 2 mod_suexec
  ii  apache2-utils                        2.2.22-13                    i386         utility programs for webservers
  ii  apache2.2-bin                        2.2.22-13                    i386         Apache HTTP Server common binary files
  ii  apache2.2-common                     2.2.22-13                    i386         Apache HTTP Server common files
  ii  libapache2-mod-fcgid                 1:2.3.6-1.2                  i386         an alternative module compat with mod_fastcgi
  ii  libapache2-mod-php5                  5.4.4-14                     i386         server-side, HTML-embedded scripting language (Apache 2 module)
  ii  libapache2-mod-ruby                  1.2.6-2                      i386         Embedding Ruby in the Apache2 web server
  ii  libapache2-mod-suphp                 0.7.1-3                      i386         Apache2 module to run PHP scripts with the owner permissions
  </code></pre>
  
  <p>I am running out of ideas here.
  I need to mention, that I mistakenly upgraded directly from Debian 5 to Debian 7 which was a big pain and caused a lot of trouble. This current problem is part of it and there might be weird causes involved, such as depreciated config entries or whatever.</p>