I am Screwed

Discussion in 'Installation/Configuration' started by Mohd Muneer Khan, Feb 14, 2019.

  1. Mohd Muneer Khan

    Mohd Muneer Khan New Member

    // 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>';
    exit;
    }
     
  2. Mohd Muneer Khan

    Mohd Muneer Khan New Member

    PLEASE HELP, MY SQUIRRELMAIL INDEX PAGE NOT WORKING :(
     

    Attached Files:

  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Some context would be helpful.
    • have you configured squirrelmail?
    • have you PHP installed and enabled?
    • What OS and what version? How was squirrelmail installed?
     
  4. Mohd Muneer Khan

    Mohd Muneer Khan New Member

    Yes, i configured Squirrelmail
    yes i installed PHP 7.0 and it's enable
    Ubuntu 16.04, Squirrelmail was installed with cmd with devocot and postfix
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    The screenshot you posted looks like web server is displaying the PHP code instead of executing it. This happens when web server does not have PHP enabled, or something else quite serious configuration errors.
    If you installed squirrelmail with apt-get, it should install all necessary PHP packages. My experience is that if PHP is installed web server knows to execute php scripts. So I do not know why this does not happen on your host. Have you done some configuration changes in addition to apt-get squirrelmail and the web server?
    If you now use command
    Code:
    apt-get dist-upgrade 
    does it show something is not installed completely or that some update is not fully done?
     
  6. Jeremy007

    Jeremy007 Member

    If you are unsure what the problem is and not able to solve the problem with the advice above. use apt to try and uninstall squirrelmail and reinstall it.

    Make sure to back up your server before making any type of re-installments.
     

Share This Page