It worked before, and I'm not sure when it stopped working, but I'm unable to start Web Sharing at the moment. Attempting to start it from the Sharing screen results in "Web Sharing Starting..." immediately followed by "Web Sharing: Off". I've tried reverting to the httpd.conf in /etc/apache2/original, but the result is the same.
I checked the config file with:
sudo apachectl configtest
It reports the following:
dyld: Library not loaded: /usr/lib/libpq.5.dylib Referenced from: /usr/sbin/httpd Reason: image not found /usr/sbin/apachectl: line 90: 5740 Trace/BPT trap: 5 $HTTPD -t
How can I resolve this?