Previous 1 2 Next 24 Replies Latest reply: Feb 25, 2009 6:25 PM by Charles Minow
Michael Price3 Level 1 Level 1 (55 points)
I'm trying to get apache working on my Mac so I can host a website that will access a local MySQL database. I've researched this for a while. When I run the command:

#sudo /usr/sbin/apachectl -t

I get the following output:

httpd: Syntax error on line 75 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_deflate.so into server: dlopen(/usr/libexec/apache2/mod_deflate.so, 10): Library not loaded: /usr/lib/libz.1.dylib\n Referenced from: /usr/libexec/apache2/mod_deflate.so\n Reason: no suitable image found. Did find:\n\t/usr/lib/libz.1.dylib: no matching architecture in universal wrapper\n\t/usr/lib/libz.1.dylib: no matching architecture in universal wrapper\n\t/usr/lib/libz.1.dylib: no matching architecture in universal wrapper

How do I fix this issue? I would really like to get this running without having to resort to a virtual Linux box or using XAMMP if possible. Thanks for any help you can provide!

Mike

Mac Pro, Mac OS X (10.5.6)
Previous 1 2 Next