php include path
here I am really confused. ![enter image description here][1]

Below is my folder structure. I am trying to require db.php in index.php in the root folder. 

    
    require_once('/admin/includes/db.php');

It says the server is configured incorrectly.

Also in admin > login.php I tried
    
    require_once('includes/db.php');
    require_once('includes/functions.php');

Same error message here.




  [1]: http://i.stack.imgur.com/rxgbN.png
php include path
===

here I am really confused. ![enter image description here][1]

Below is my folder structure. I am trying to require db.php in index.php in the root folder. 

    
    require_once('/admin/includes/db.php');

It says the server is configured incorrectly.

Also in admin > login.php I tried
    
    require_once('includes/db.php');
    require_once('includes/functions.php');

Same error message here.




  [1]: http://i.stack.imgur.com/rxgbN.png