Use the function ini_set(). For example if you wanted to set your PHP include_path to ".:../:./include:../include" then you would do this in your PHP code:
PHP Code:
ini_set("include_path", ".:../:./include:../include");
You can also use ini_set() to affect other PHP settings like auto_prepend_file, auto_append_file, error_reporting, etc.