Putting PEARs php_dir into include_path in php.ini -


i'm unsure of how alter php.ini file according instructions on pear website

it says "in every case, pear's php_dir should in include path. if not, add in system's php.ini."

on system(mac 10.6.6), pear's php dir

/users/michaelmitchell/pear/share/pear 

on system, php.ini include path

.:/applications/mamp/bin/php5.3/lib/php 

what should resulting path in php.ini? delete current path , replace pear's php dir path? or somehow integrate two?

thanks help. if can please type out whole path should be. i'm not experienced ...

as may have discovered, need set php path configuration directive, 'include_path', in system's php.ini file to:

include_path = ".:/applications/mamp/bin/php5.3/lib/php:/users/michaelmitchell/pear/share/pear" 

for more detailed explanation of how set php path configuration directive, 'include_path', in system's php.ini file, please see my answer question what mean 'move' file include path list?

hope helps,

//. elliot


Comments