<p>I believe the problem is that you've got craft within htdocs, so your web server is trying to run craft from the root, instead of where it should be, <code>/public</code></p>

<p>To illustrate, this is where htdocs <em>should</em> be. </p>

<pre><code>-craft

--craft
---app
---config
---plugins
---storage
---templates
---.htaccess
---web.config

--public &lt;- htdocs
---index.php
</code></pre>

<p>I suggest, to test, that you change the httpd.conf to make apache run from the public folder rather than the pre-made htdocs folder xampp has given you. Go into the xampp config, click on <code>httpd.conf</code> and change the following lines:</p>

<p><a href="https://i.sstatic.net/SmTPd.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/SmTPd.png" alt="enter image description here"></a></p>

<p><code>DocumentRoot "your\path\to\htdocs\craft\public"</code></p>

<p>and</p>

<p><code>&lt;Directory "your\path\to\htdocs\craft\public"&gt;</code></p>

<p>Restart your server, and you should be golden. On windows, you shouldn't have any permission issues with folders.</p>

<p>As an example, here is what my lines look like:</p>

<pre><code>DocumentRoot "D:\Documents\work\bud\public"
&lt;Directory "D:\Documents\work\bud\public"&gt;
</code></pre>

<p>I'd avoid just dumping the code in the pre-made htdocs folder provided and just route your httpd.conf to wherever your codebase is. </p>

CC BY-SA 3.0
2016-08-26T11:38:00.183Z
2016-08-26T11:38:00.183Z
Merlin
<p>I'm new to Craft CMS and would like to getting started, I searched for several hours now but I was not able to find an answer.</p>

<p>I downloaded and copied craft to my htdocs folder, created a database and changed the db access but when I open my page I get </p>

<pre><code>Could not find your craft/ folder. Please ensure that $craftPath is set correctly in C:\xampp\htdocs\craft\public\index.php
</code></pre>

<p>I think I have to change the permission of that folder but I have no idea how to do this. Could you help me?</p>

<p>I didn't change any path, so it is correct and points to the right file but there is only one directory visible in <code>C:\xampp\htdocs\craft\</code> in my browser</p>

<p>Edit:
my Files looks like this<br>
<code>htdocs</code><br>
<code>-craft</code><br><br>
<code>--craft</code><br>
<code>---app</code><br>
<code>---config</code><br>
<code>---plugins</code><br>
<code>---storage</code><br>
<code>---templates</code><br>
<code>---.htaccess</code><br>
<code>---web.config</code><br><br>
<code>--public</code><br>
<code>---index.php</code></p>

CC BY-SA 3.0
2016-08-24T18:05:20.533Z
Can you maybe edit your original question and post a screenshot of what your folder structure looks like? i.e. where does the `craft/app` folder sit in relation to `public/index.php`?
Brad Bell
<install><installation>
XAMPP Windows 10 - Could not find your craft/ folder error
# XAMPP Windows 10 - Could not find your craft/ folder error

(Asked by: username_0 on 2016-08-24)

I'm new to Craft CMS and would like to getting started, I searched for several hours now but I was not able to find an answer.
I downloaded and copied craft to my htdocs folder, created a database and changed the db access but when I open my page I get 
Could not find your craft/ folder. Please ensure that $craftPath is set correctly in C:\xampp\htdocs\craft\public\index.php

I think I have to change the permission of that folder but I have no idea how to do this. Could you help me?
I didn't change any path, so it is correct and points to the right file but there is only one directory visible in C:\xampp\htdocs\craft\ in my browser
Edit:
my Files looks like this
htdocs
-craft
--craft
---app
---config
---plugins
---storage
---templates
---.htaccess
---web.config
--public
---index.php

**Tags:** install, installation
> **Comments:**
> **username_1**: Can you maybe edit your original question and post a screenshot of what your folder structure looks like? i.e. where does the `craft/app` folder sit in relation to `public/index.php`?  

---

## 1 answers

### Answer by username_2 on 2016-08-26. Score: 1

I believe the problem is that you've got craft within htdocs, so your web server is trying to run craft from the root, instead of where it should be, /public
To illustrate, this is where htdocs should be. 
-craft

--craft
---app
---config
---plugins
---storage
---templates
---.htaccess
---web.config

--public <- htdocs
---index.php

I suggest, to test, that you change the httpd.conf to make apache run from the public folder rather than the pre-made htdocs folder xampp has given you. Go into the xampp config, click on httpd.conf and change the following lines:

DocumentRoot "your\path\to\htdocs\craft\public"
and

Restart your server, and you should be golden. On windows, you shouldn't have any permission issues with folders.
As an example, here is what my lines look like:
DocumentRoot "D:\Documents\work\bud\public"


I'd avoid just dumping the code in the pre-made htdocs folder provided and just route your httpd.conf to wherever your codebase is.


---

