I'm trying to get some of the PEAR stuff running on a server, but without installing it PHP.
I believe if I create all the appropriate files, in the same directory structure, all I need to do is make sure there is an include_path line somewhere....
If I want to do this for a whole website, where the site is in:
/webs/website/
I think I need to put a php.ini file in that directory with the following line:
include_path = ".:/webs/website/PEAR"
Is this correct? I know I've done something wrong, as it doesn't work!
Thanks
Nunners
php.ini files
Moderator: General Moderators
Doh
OK.... so I've now worked out what the problem was....
I was calling a file in a directory further down....
Does this mean I have to have a php.ini file in every directory?
I was calling a file in a directory further down....
Does this mean I have to have a php.ini file in every directory?