Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Aug 012011

Get the current PHP include path's setting


To get the current PHP include path's setting, you can use the function get_include_path


echo get_include_path();

Usually it is used with the set_include_path for adding extra path to the existing include_path,


set_include_path(get_include_path() . PATH_SEPARATOR . "/data/path");

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>