title: php - xampp apache not finding my application folder
body: <p>My apache service won't run and I get the error:</p>
  
  <pre><code>ERROR: Failed to start "apache": cannot start service: AH00526: Syntax 
  error on line 229 of /opt/lampp/etc/httpd.conf:
  DocumentRoot '/Applications/XAMPP/xamppfiles/htdocs' is not a 
  directory, or is not readable
  </code></pre>
  
  <p>I'm trying to change my documentroot and directory to </p>
  
  <p>DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"</p>
  
  <p>Directory "/Applications/XAMPP/xamppfiles/htdocs"></p>
  
  <p>I've tried a handful of solutions and nothing has been working.</p>
  
  <p>EDIT: I forgot to mention I am using a MAC OS X</p>
  
  <p>EDIT_2: I think it might have something to do with the serverroot but I am not sure.</p>
  
  <pre><code>ServerRoot "/opt/lampp"
  </code></pre>