I think that my php server crashed. Need help

Discussion in 'Server Operation' started by Heeter, Mar 13, 2012.

  1. Heeter

    Heeter Member

    Hi all,

    I am running LAMP using Ubuntu 11.04 with postfix (with 5 virtual host domains). Everything has been working fine.

    I did take some security updates yesterday. Now I think that my php is not working

    My main apache test page is there (, but my php info page is not working (

    All my virtual domains just download a file when I try to access it.

    Please help.

  2. sjau

    sjau Local Meanie Moderator


    sudo a2enmod php5
  3. Heeter

    Heeter Member

    I will try that,,,

    Thanks, sjau, will report back in a bit,

  4. Heeter

    Heeter Member

    This is what I am getting

    > sudo a2enmod php5
    Enabling module php5.
    Run '/etc/init.d/apache2 restart' to activate new configuration!
    > /etc/init.d/apache2 restart
    apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
    Action 'configtest' failed.
    The Apache error log may have more information.
  5. sjau

    sjau Local Meanie Moderator

    uninstall and reinstall php5....

    sudo apt-get remove libapache2-mod-php5
    sudo apt-get install libapache2-mod-php5
  6. Heeter

    Heeter Member

    Thanks, sjau, that fixed it....

    Thanks again,


Share This Page