title: OSX Apache running from a different directory?
body: <p>I have apache running, but it seems to be using another directory rather than <code>/opt/local/apache2</code>:</p>
  
  <ul>
  <li>I have <code>/opt/local/apache2/conf/httpd.conf</code> setting DocumentRoot to where I want (/Users/jasons/Sites/localmirror/htdocs) but my documents aren't visible (this used to work)</li>
  <li>I edited /opt/local/apache2/htdocs/index.html from "It works!" to "It workkkks!" but despite restarting Apache and clearing my browser cache, it still says "It works!" when I browse <a href="http://localhost" rel="nofollow">http://localhost</a></li>
  </ul>
  
  <p>This leads me to believe httpd is running using another directory, but I can't figure out where. Could anyone help me figure out where? <code>ps -ax</code> doesn't shed any light on anything.</p>
  
  <hr>
  
  <p>update: found the index.html document in /Library/WebServer/Documents/index.html.en but I can't figure out why it's pointing here.</p>
  
  <hr>
  
  <p>ARGH: I can't seem to get rid of this error:</p>
  
  <blockquote>
    <p>httpd: Syntax error on line 115 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/libphp5.so into server: dlopen(/opt/local/apache2/modules/libphp5.so, 10): no suitable image found.  Did find:\n\t/opt/local/apache2/modules/libphp5.so: mach-o, but wrong architecture</p>
  </blockquote>
  
  <p>I have no idea where to get the right libphp5.so</p>