Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to serve pages on Mac OS X using default Apache Web Server
    text
    copied!<p>I have enabled the Web Server on my Mac OS X (10.5.6) by going to the System Preferences -> Internet &amp; Network -> Sharing and clicking on the Web Server option. It gives me the IP address of my system as the Web Server, but even after clicking on it, it does not show the page, but gives an error: Failed to Connect</p> <p>Any help on this would be wonderful.</p> <p>I have tried with MAMP, but there, I am unable to get my own PHP pages to be displayed.</p> <p>Starting and/or stopping the web server from the command line, gives me the following:</p> <pre><code>dyld: Symbol not found: _apr_socket_sendfile Referenced from: /usr/sbin/httpd Expected in: /usr/lib/libapr-1.0.dylib Trace/BPT trap </code></pre> <p>The files on my box are:</p> <pre><code>~ $ ls -lrt /usr/lib/libapr* -rwxr-xr-x 1 root wheel 578640 Sep 23 2007 /usr/lib/libapr-1.0.2.7.dylib -rwxr-xr-x 1 root wheel 393696 Sep 23 2007 /usr/lib/libaprutil-1.0.2.7.dylib -rwxrwxr-x 1 root admin 569544 Oct 27 10:44 /usr/lib/libaprutil-1.0.2.12.dylib -rwxrwxr-x 1 root admin 835824 Oct 27 10:44 /usr/lib/libapr-1.0.2.12.dylib lrwxr-xr-x 1 root admin 25 Jan 4 22:28 /usr/lib/libaprutil-1.dylib -&gt; libaprutil-1.0.2.12.dylib lrwxr-xr-x 1 root admin 25 Jan 4 22:28 /usr/lib/libaprutil-1.0.dylib -&gt; libaprutil-1.0.2.12.dylib lrwxr-xr-x 1 root admin 21 Jan 4 22:28 /usr/lib/libapr-1.dylib -&gt; libapr-1.0.2.12.dylib lrwxr-xr-x 1 root admin 21 Jan 4 22:28 /usr/lib/libapr-1.0.dylib -&gt; libapr-1.0.2.12.dylib </code></pre> <p>The MD5 values are:</p> <pre><code>~ $ openssl md5 /usr/sbin/httpd /usr/lib/libapr-1.0.dylib MD5(/usr/sbin/httpd)= d5194790e9cfaca881d0e8fc3db24889 MD5(/usr/lib/libapr-1.0.dylib)= f7f7fd3cd315ca4e7c6ad2a2f222998e </code></pre> <p>The libapr-1.0.dylib is linked to the newer 1.0.2.12 version.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload