I set up include_path in php.ini.
Then I call phpinfo()
And include_path differs from that I specified in php.ini.
What can cause this?
I modified the same php.ini as specified in "Loaded Configuration File" in phpinfo() call.
php is called via apache module, I restarted apache - this also does not help.
I use Windows Vista, Apache/2.2.14 (Win32) PHP/5.3.1
I calls set_include_path("...") in the beginning of my php file, but this is good for temporary workaround only.
wamp\bin\php\phpX.X.X>php.ini, which I was manually editing, does not seem to be the one Apache reads from and the one it uses iswamp\bin\apache\Apache2.2.17\bin>php.iniDrove me absolutely crazy until I clicked on WAMP and went toPHP>PHP.iniand edited it from there, but you can access it directly in the directory above.include_pathsetting inphp.ini. I have confirmed that the correct ini file is being read by changing other settings and they all change correctly. But no matter what I put in include_path, the include path is always set to ".;C:\php\pear".