apache is not starting anymore

Discussion in 'HOWTO-Related Questions' started by Kornfeld, Sep 27, 2014.

  1. Kornfeld

    Kornfeld New Member

    Hey,

    i´m trying to configure an server like here:

    http://www.howtoforge.com/the-perfect-server-opensuse-13.1-with-apache2-mysql-php-postfix-and-ispconfig-3-p5

    Everything is working fine. But after installing squirrelmail.. i can not start apache anymore..
    Code:
     systemctl start apache2.service
    
    Code:
    Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
    
    Code:
     Main PID: 3886 (code=exited, status=1/FAILURE)
       Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
    
    Sep 27 16:01:35 biomed start_apache2[3886]: [Sat Sep 27 16:01:35.385766 2014...g
    Sep 27 16:01:35 biomed start_apache2[3886]: AH00526: Syntax error on line 4 ...:
    Sep 27 16:01:35 biomed start_apache2[3886]: Invalid command 'php_admin_flag'...n
    Sep 27 16:01:35 biomed systemd[1]: apache2.service: main process exited, co...RE
    Sep 27 16:01:35 biomed start_apache2[3904]: [Sat Sep 27 16:01:35.740672 2014...g
    Sep 27 16:01:35 biomed start_apache2[3904]: AH00526: Syntax error on line 4 ...:
    Sep 27 16:01:35 biomed start_apache2[3904]: Invalid command 'php_admin_flag'...n
    Sep 27 16:01:35 biomed systemd[1]: apache2.service: control process exited,...=1
    Sep 27 16:01:35 biomed systemd[1]: Failed to start The Apache Webserver.
    Sep 27 16:01:35 biomed systemd[1]: Unit apache2.service entered failed state.
    
    journalctl.service
       Loaded: not-found (Reason: No such file or directory)
       Active: inactive (dead)
    
    Hint: Some lines were ellipsized, use -l to show in full.
    
    Does anybody know why that is happening?

    Thx
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if mod_php is not installed or not enabled on your server. Please enable it and restart apache.
     
  3. Kornfeld

    Kornfeld New Member

    Hi Thank you for your answer!

    It is already installed.

    But I don't know how to enable.. Or how to check the status..
     
  4. Kornfeld

    Kornfeld New Member

    with:

    Code:
    a2enmod apache2-mod_php5
    ?
     
  5. Kornfeld

    Kornfeld New Member

    I got it.

    a2enmod php5
     

Share This Page