setting include paths in php.ini
Posted by:
Dmacman
(---.eriepa.dsl-w.verizon.net)
Date: July 12, 2006 05:37PM
Hi everyone,
I have been using an ISP for our hosting and have a WAMP server setup on my machine for testing purposes. We are now setting up our own 'ISP' server and want to resolve, once and for all, the issues with includes.
In the past, when I tried to design a header for the pages and tried includes, once I was one or two directories deeper than the root, the includes would break and I would lose the paths for the images, etc.
So I went into my 'testing' server and tried changing the windows include path.
Here is the php.ini version that came when I installed WAMP...
include_path = ".;c:\php\includes"
but to get it to work, I had to change it to this...
include_path = ".;c:/php/includes" Actually ---> include_path = ".;c:/wamp/includes"
But that only recognizes files in that directory, not one level down. IE c:/wamp/includes/ITCM is not found.
So I read up on it and tried this...
include_path = ".;c:/wamp/includes.;c:/wamp/includes/ITCM"
and I still cannot see any files in the ITCM directory.
I am missing something big time here, but I don't know what?
I am trying to get this working on my machine, so I can apply my techniques on the new web server when it is installed on thursday.
Does anyone have any guidance on this.
Thanks in advance,
Don
Post Edited (07-12-06 18:37)