Answers.Body: <p>Usually when this happens and you're positive the <code>$craftPath</code> path is correct, it's one of two things:</p>
  
  <ol>
  <li><p>PHP doesn't have permissions to be able to read the <code>craft</code> folder.</p></li>
  <li><p>Your host has <a href="http://php.net/manual/en/ini.core.php#ini.open-basedir" rel="nofollow">open_basedir</a> restrictions in place preventing PHP from reading the <code>craft</code> folder.</p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T17:21:53.423Z
Answers.LastActivityDate: 2014-08-13T17:21:53.423Z
Answers.UserDisplayName: Brad Bell
Answers.Body: <p>I just tested it for you and this</p>
  
  <pre><code>$craftPath = './craft';
  </code></pre>
  
  <p>or this</p>
  
  <pre><code>$craftPath = 'craft';
  </code></pre>
  
  <p>does both work for me!</p>
  
  <p>This probably doesn't help you much; I only wanted to confirm, that your <code>$craftPath = './craft';</code> config should be working for your file structure.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T15:39:35.660Z
Answers.LastActivityDate: 2014-08-13T17:58:09.220Z
Answers.LastEditDate: 2014-08-13T17:58:09.220Z
Answers.UserDisplayName: carlcs
Body: <p>I know this is bad practice but it's just for dev sites and there's no easy way around it with our current hosting provider. Anyway, I have my craft folder next to my index.php and $craftpath set to:</p>
  
  <pre><code>$craftPath = './craft';
  </code></pre>
  
  <p>Still I get this error: </p>
  
  <pre><code>Could not find your craft/ folder. Please ensure that $craftPath is set correctly in /chroot/home/rizencre/rizenweb.com/html/terravant/index.php
  </code></pre>
  
Tags: <config><install>
Title: Intalling Craft in the webroot folder
ThreadText: # Intalling Craft in the webroot folder
  
  (Asked by: username_0 on 2014-08-13)
  
  I know this is bad practice but it's just for dev sites and there's no easy way around it with our current hosting provider. Anyway, I have my craft folder next to my index.php and $craftpath set to:
  
  ```
  $craftPath = './craft';
  
  ```
  
  Still I get this error:
  
  ```
  Could not find your craft/ folder. Please ensure that $craftPath is set correctly in /chroot/home/rizencre/rizenweb.com/html/terravant/index.php
  
  ```
  
  **Tags:** config, install
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2014-08-13. Score: 2
  
  Usually when this happens and you're positive the `$craftPath` path is correct, it's one of two things:
  
  1. PHP doesn't have permissions to be able to read the `craft` folder.
  2. Your host has [open\_basedir](http://php.net/manual/en/ini.core.php#ini.open-basedir) restrictions in place preventing PHP from reading the `craft` folder.
  
  
  ---
  
  ### Answer by username_2 on 2014-08-13. Score: 2
  
  I just tested it for you and this
  
  ```
  $craftPath = './craft';
  
  ```
  
  or this
  
  ```
  $craftPath = 'craft';
  
  ```
  
  does both work for me!
  
  This probably doesn't help you much; I only wanted to confirm, that your `$craftPath = './craft';` config should be working for your file structure.
  
  
  ---
  
  