Running files located outside of web root |
Site Admin
|
When you work with a WEB server and target script is located out of the web tree you can not run this script, right? So the IDE can't.
probably, you do not need those files to be run in 3rd party HTTP mode. If those files are supposed for being run by php directly, feel free to do so with either SRV or LocalCGI mores. You can create a new project in the same workspace and have its root directory pointing to discovery/lib/unit_tests. |
||||||||||||||||
|
|
Hi
I know this post is a few months old, but i'm in a situation again where it's posing a problem. I got around the original problem by simply running the unit tests from the windows run prompt, and typing the full path to the file. The problem with doing that though, is that it registers the document root as c:\wamp\www, whereas i have a virtual host in apache (and an IDE mapping) that configures the document root for the above project as c:\wamp\www\discovery\www. Now i need manipulation of the document root, i was wondering how to properly implement your solution. I created another project, with the project root set to c:\wamp\www\discovery\lib\unittests. Run mode is HTTP (SRV local sever), with code insight includes set to c:\wamp\php4\pear. When i run a unit test, i get the following error:
... so i look at project properties->includes tab, thinking i might need to add a mapping or something, and theres hundreds of entries there! I'm not sure if they're supposed to be there or not, but i was hoping of adding a mapping to my local PEAR installation at c:\wamp\php4\PEAR and my overall projects (Workspace is it?) document root to .... unsure what. In fact i'm unsure how to proceed, so any advice would be appreciated. Thanks. |
||||||||||||||
|
Running files located outside of web root |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by