squirrelmail shows php code

Discussion in 'Installation/Configuration' started by FiF3000, Sep 7, 2015.

  1. FiF3000

    FiF3000 New Member

    I set up my debian server using this tutorial. https://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3-p3

    When I open up squirrelmail via www.domain.tld/squirrelmail, this comes up in the browser.

    * index.php
    * Redirects to the login page.
    * @copyright 1999-2012 The SquirrelMail Project Team
    * @license http://opensource.org/licenses/gpl-license.php GNU Public License
    * @version $Id: index.php 14248 2012-01-02 00:18:17Z pdontthink $
    * @package squirrelmail
    // Are we configured yet?
    if( ! file_exists ( 'config/config.php' ) ) {
        echo '<html><body><p><strong>ERROR:</strong> Config file ' .
            '&quot;<tt>config/config.php</tt>&quot; not found. You need to ' .
            'configure SquirrelMail before you can use it.</p></body></html>';
    // If we are, go ahead to the login page.
    header('Location: src/login.php');
    Whats wrong here?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that you installed mod_php and configure squirrel mail as described in that tutorial.

Share This Page