Joined: 19 May 2009 |
Posts: 1 |
|
|
|
Posted: Mon May 18, 2009 9:30 pm |
|
|
|
|
|
Hi.
I just installed phpEd (coming from VS.php, but I want to change), so my question might be a newbie question. But I browsed the forum and couldn't find an answer.
How do you tell phpEd what are your include path (php's include_path value).
My include_path are set in Apache's vhost config (via "php_value"), maybe that's why dbg-wizard couldn't pick it up?
So, to be clear:
- I have my document root in /var/www/dev/public_html
- I have an include folder in /var/www/dev/include
- in my vhose config, I have a line saying "php_value include_path /var/www/dev/include"
- My project root is /var/www/dev, with the mapping of project/public_html going to the url
But everytime in my php code I have an include, it tries to find the file in the source's file folder, instead of the include folder.
(ie, if I have /public_html/foo.php with a line inside saying include 'class/bar.php', it will try to include the file /public_html/class/bar.php whereas my remote server correctly loads /include/class/bar.php).
Needless to say that messes up all the autocompletion, intellisense, class browser etc.
So how do I tell phpEd that there is an include path?
Thanks.
|
|