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.
One possibility is that there's a .htaccess file somewhere that is getting in your way. You can override php.ini settings in .htaccess files. E.g, in your .htaccess:
you need to make sure that your include_path starts with ".:" .
Paste your
include_path=
entry from your php.ini. I know php.ini entries have to be on one line and you need to have your directories separated by colons, but otherwise theres no trick to it.