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:
- What to put in the quotes of the include path setting itself.
For example, if I wanted to addC:\wamp\www
as an include path, would it be
include_path = ".;C:\wamp\www\"
? - Where to put the include path line. Can I put it anywhere, or do I have to put it in a specific place?
Some common errors I've read about in my research that I've checked.
- I'm editing the php.ini file located at
C:\wamp\bin\php\php5.3.8
- I've restarted the server after I've made my changes and have checked if it had updated using the
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"