PDA

View Full Version : Changing php.ini


bryantms
01-03-2008, 12:20 PM
I'm using quite a few PEAR packages and had a quick question. Currently I have to include:

#path to pear
ini_set('include_path', "/home/fearandf/php");

On every page that uses PEAR (all of 'em b/c I use MDB2). I'm trying to get change the php.ini file so that I won't have to include this on every page. I've gone to the php.ini file and edited the include path to look like this:

include_path = ".:/usr/lib/php:/usr/local/lib/php;/home/fearandf/php";

I simply added a (;) and the path after that. It shows up in the phpinfo() correctly, but it doesn't function correctly unless I still include that sample code above. Am I using the wrong format? Anyone having a similar issue?