path - PHP wrong folder ? include_path='.:/usr/share/php:/usr/share/pear' -


i need install feature on webserver. error message looking /usr/share/php colon /usr/share/pear

my php installation rests in /usr/share/php5 , , not have /usr/share/pear folder

what colon mean in syntax, "and" ?

if path wrong i'm not sure how change in script, dont want change share/php5 php, or recommended?

what colon mean in syntax, "and" ?

yes, that. path separator , can compare comma ",".

if path wrong i'm not sure how change in script, dont want change share/php5 php, or recommended?

you can change value in php.ini. can find out, configuration files used php --ini. or change withing script with

set_include_path(get_include_path() . path_separator . '/usr/share/php5'); 

if system-wide behaviour (means: php not working @ all), should change in configuration. 1 application, can use set_include_path().


Comments