I need to include a file into some other files that are in different directories.
I have made a config_php file that contains a defined variable BASE_URI which the path to the root folder of my webiste.

The problem is to include the config_php the relative path for the varies from page to page (pages in different folders).

Should i use an absolute path to that file.or there is a best way?

PS:When i try to use absolute path in localhost i get an error:
"URL file-access is disabled in the server configuration "

How to change that?