Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New Coder
    Join Date
    Dec 2005
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    auth_digest_module garbled Apache 2.2.4/ php 5.2.4

    Hello,
    I have installed Apache 2.2.4 and php 5.2.4 on my Ubuntu platform and when I do sudo httpd -k restart

    I get this:

    httpd: Syntax error on line 66 of /etc/apache2/httpd.conf: API module structure `auth_digest_module' in file /usr/lib/apache2/modules/mod_auth_digest.so is garbled - perhaps this is not an Apache module DSO?

    I know I have a php version that's not working w/ my Apache 2.2.4 but I'm not sure about how to find the correct version of PHP that will work w/ this version of Apache.

    Anyone know the best way to resolve this?

    Thanks,
    Clem C

  • #2
    Banned
    Join Date
    Apr 2007
    Posts
    428
    Thanks
    29
    Thanked 5 Times in 5 Posts
    <del>1) try loadin proper php dll for apache 2.2 (php2_2.dll)</del>

    2) md5sum check your apache make file (i think that's how you call it on linux), and make sure it has same md5sum like downloaded file (most downloads of such software provide md5sum check of original file)
    Last edited by matak; 11-13-2007 at 01:59 AM.

  • #3
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    Quote Originally Posted by matak View Post
    1) try loadin proper php dll for apache 2.2 (php2_2.dll)
    The module files are .so on *nix.

  • #4
    New Coder
    Join Date
    Dec 2005
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am quite the newbie w/ all this.

    How do load this dll (php2_2.dll)

  • #5
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    Try re-installing apache or updating it with apt.

  • #6
    New Coder
    Join Date
    Dec 2005
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I ran: sudo apt-get install apache2 php5

    And got:

    Reading package lists... Done
    Building dependency tree... Done
    apache2 is already the newest version.
    php5 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

    Sounds like somethings strange that the newest versions of these aren't compatable

  • #7
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    I seriously doubt that they are not compatible. I think it's more likely that you have a configuration error or corrupt file. Backup any config files you have changed, and completely remove/reinstall them both.

  • #8
    New Coder
    Join Date
    Dec 2005
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts
    One thing I should mention, when I start commenting out the module includes the next one in line shows up as 'garbled'.

    Behold:

    When I comment out line #66 it just says the next module is garbled:

    httpd: Syntax error on line 67 of /etc/apache2/httpd.conf: API module structure `cache_module' in file /usr/lib/apache2/modules/mod_cache.so is garbled - perhaps this is not an Apache module DSO?

    and if I comment out line 68 I get:

    httpd: Syntax error on line 68 of /etc/apache2/httpd.conf: Cannot load /usr/lib/apache2/modules/mod_mem_cache.so into server: /usr/lib/apache2/modules/mod_mem_cache.so: undefined symbol: apr_atomic_dec

    and then I comment out the next one I get:
    httpd: Syntax error on line 71 of /etc/apache2/httpd.conf: Cannot load /usr/lib/apache2/modules/mod_ext_filter.so into server: /usr/lib/apache2/modules/mod_ext_filter.so: undefined symbol: apr_poll_socket_add

    and so on.

    Something is all messed up.

  • #9
    New Coder
    Join Date
    Dec 2005
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I ran: sudo apt-get remove apache2

    and then reinstalled apache w/ sudo apt-get install apache2

    Then when I restarted the server, I got the same error as before.

    Just don't get it


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •