How to setup cakephp site on XAMPP
<p>I have downloaded a PHP site developed in cakephp and now trying to set up it in XAMPP.</p>

<p>I was having some problems related to .htaccess and cakephp path. I renamed .htaccess files to 1.htaccess and defined hard coded path of cake root folder in one of the .php files so those errors are gone. But now I get new error which is:</p>

<blockquote>
  <p>HTTP ERROR 500</p>
</blockquote>

<p>How do I display full error so I know exactly what's going on?</p>

<p>Display Errors setting is already defined in php.ini</p>

<blockquote>
  <p>display_errors = On</p>
</blockquote>

<p>Directory structure is as follows. May be I am not trying to access correct file? I am trying to access:</p>

<pre><code>http://localhost/mysite/public_html/app/
</code></pre>

<p>Even if I try to access webroot, get same error</p>

<pre><code>http://localhost/mysite/public_html/app/
</code></pre>

<p>Directory structure given below.</p>

<p><a href="https://i.stack.imgur.com/nZfXB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nZfXB.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/U5KFn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U5KFn.png" alt="enter image description here"></a></p>

<p>How do I fix this issue?</p>