ISPconfig 3.1 phpmyadmin and roundcube displays code not web page

Discussion in 'Installation/Configuration' started by jose garcia, Feb 6, 2019.

  1. jose garcia

    jose garcia New Member

    I've installed ISPconfig 3.1, with Debian 9.0, apache 2.4.25, module mpm_event (HTTP 2.0), php 7.0 following the steps of the document "The Perfect Server - Debian 9 (Stretch) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.1"

    With this configuration, phpmyadmin and roundcube, displays code PHP not web page, the main reason is the apache módule mpm_event is not compatible with the apache module php7.0, because with the apache modules mpm-prefork and php7.0 works ok both installing the respective package of Debian 9.

    WP works perfectly and a solution could be to install phpmyadmin and roundcube like a web pages not like a packages but we want to use the module mpm_event for HTTP 2.0. Can someone give me a solution to make it work both package, roundcube and phpmyadmin, with the apache module mpm_event, please? Tanks
     
  2. Jesse Norell

    Jesse Norell Well-Known Member

    Probably just:
    Code:
    a2enconf php7.0-fpm
    service apache2 reload
    
     
  3. jose garcia

    jose garcia New Member

    Thank you Jesse, for your answer, but it doesn't work. "www domain com / webmail" or "www domain com / phpmyadmin" keeps showing the code like this
    ///////////////////////////////////////////////////////////////////////////
    <?php
    /**
    +-------------------------------------------------------------------------+
    | Roundcube Webmail IMAP Client |
    | Version 1.2.3 |
    | |
    | Copyright (C) 2005-2016, The Roundcube Dev Team |
    ..........................................
    ...........................
     
  4. manoaratefy

    manoaratefy New Member

    Is www.domain.com a correct ISPConfig website? Then, is PHP enabled on this ISPConfig website? Then, is PHP code running on www.domain.com or not?
     
  5. jose garcia

    jose garcia New Member

    Yes domain.com is a correct ISPconfig 3.1 website, and PHP is running, because is a WP works OK but "domain com slash roundcube" or "domain com slash phpmyadmin" shows code they are installed like a package, a2enconf enabled and set respectively

    "Alias slash phpmyadmin usr slash share slash phpmyadmin"
    "Alias slash webmail var slash lib slash roundcube"

    a2enconf roundcube
    a2enconf phpmyadmin
    a2enconf php7.0-fpm
    service apache2 restart
    service php7.0-fpm restart

    set alias en the apache server is running mpm_event, not mpm_prefork. If I install mpm_prefork and a2enmod mod_php7.0 works ok.
     

Share This Page