I've searched all over the place and can't seem to find an answer for this. I'm trying to set an include path in the php.ini file of my local wamp server. I currently don't understand one of two things:
C:\wamp\www
as an include path, would it beinclude_path = ".;C:\wamp\www\"
? Some common errors I've read about in my research that I've checked.
C:\wamp\bin\php\php5.3.8
phpinfo()
function.UPDATE
This is currently what I have, but it still doesn't work.
; Windows: "\path1;\path2"
include_path = ".;C:\php\pear;C:\wamp\www"
This all depends on what you are trying to accomplish. Personally, I don't edit the php.ini file directly for setting include_paths, rather I use the following construct, in code:
// This will append whichever path you would like to the current include path
// PHP is smart enough to convert / with \ if on a Windows box
// If not you can replace / with DIRECTORY_SEPARATOR
set_include_path(get_include_path() . PATH_SEPARATOR . 'my/custom/path');
-- Edit --
Chances are there may be multiple copies of php.ini on your system, and that you are not editing the one that is being used by PHP.