Apache problems with libphp5.so

Discussion in 'Server Operation' started by Jubalint, Apr 21, 2007.

  1. Jubalint

    Jubalint New Member

    I'm running a Debian Sarge box with Debian Main branch, in addition to the dotdeb respiratory's for MySQL5 and php5.

    I haven't updated my software in a few months so I performed a apt-get dist-upgrade.

    Everything went fine except now my apache2 installation is broken.

    Another thing is that I'm using ISPConfig to manage my web server.

    My problem is that when I attempt to start apache I get the following error:
    # apache2
    apache2: Syntax error on line 116 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: API module structure `php5_module' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?
    I'm thinking I'll have to recompile php5, but I'm really not very knowledgeable about this, since I use ISPConfig to mange most of it. Is there a simple way I can just recompile libphp5.so or download it or what? I'm a little scared of compiling it manually since I've been getting php5 from dotdeb as binaries. I'm not really sure how I managed to mess it all up, and my google searching hasn't helped.

    Thanks for looking at my question :).
    Last edited: Apr 21, 2007
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in your /etc/apt/sources.list?

Share This Page