I´m working with Eclipse 3.4.2 with PDT. I´ve added some libraries in the applications folder, and add that folder to the PHP Include Path.
When I run as script, it works perfect, but if I access the page outside eclipse, the libraries are not accesible, i need to add this line:
set_include_path( implode(PATH_SEPARATOR, array(realpath('../application'), get_include_path(),)) );
Is this necesary? how can avoid this?