views:

110

answers:

0

Hi,

I've just installed NetBeans (6.9.1, PHP specific download, WinXP) and im running into some include path issues..

When I run a project file via the PHP interpreter (localhost/xampplite) and checking the result in the output window I get these include errors saying the file is not found within the include path (include_path=".")

Which, at first sight, makes perfectly sence because the file simply does not exists in "." however my http.conf looks like this;

<IfModule mod_php5.c>
    # first 2 php settings
    php_admin_flag safe_mode Off
    php_value include_path ".;\path\to\libs"
    #some other stuff
</IfModule>

Offcourse the file should be found in "\path\to\libs" but somehow my include path got messed up. Accessing the script with a webbrowser works like a charm...

What's happening? Netbeans global include path settings is also configured to "\path\to\libs"

I also noticed when im editing a file and auto complete to;

<?php
include '..';
?>

I kinda expected I'm able to auto-complete the file path being included (e.g. file from include path... Is this possible at all or am I overlooking something/above related?

// Roland