11-12-2007, 09:17 PM
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?
11-12-2007, 10:51 PM
<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)
11-12-2007, 11:58 PM
1) try loadin proper php dll for apache 2.2 (php2_2.dll)
The module files are .so on *nix.
11-14-2007, 02:45 AM
I am quite the newbie w/ all this.
How do load this dll (php2_2.dll)
11-14-2007, 03:14 AM
Try re-installing apache or updating it with apt.
11-14-2007, 03:01 PM
I ran: sudo apt-get install apache2 php5
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
11-14-2007, 06:48 PM
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.
11-20-2007, 05:30 AM
One thing I should mention, when I start commenting out the module includes the next one in line shows up as 'garbled'.
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.
01-18-2008, 03:09 AM
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