Newbie: Confused about SRV Local vs 3rd Party |
Site Admin
|
PhpED comes with pre-configured web server called "SRV". See its settings on Tools->Settings->SRV web server tab.
It supports PHP4 and PHP5 (if they were not unchecked during PHPED installation) and actual handler depends on file associations, see Tools->settings->File associations. Besides php, it also supports php debugging and comes with pre-installed debugger modules (see extension=php_dbg.dll in php.ini etc). In other words, SRV works out of box. The drawback of SRV is its simplicity, it does not support many features available in IIS or Apache (such as virtual hosts). PhpED works with SRV using file names, not URLs and it may also affect your applications. I'd recommend to use SRV only for relatively simple projects. Regarding IIS or Apache, they are referred as 3rd party web servers and are also supported by PhpED but you need to install php and debugger module yourself. Please read this on how to do it: http://forum.nusphere.com/howto-install-debugger-module-t576.html After debugger installed, you'll have to create project(s) and set its properties. See mappings explained article for further details on how projects works with URLs and remote paths: http://forum.nusphere.com/howto-set-project-mapping-t2135.html In your particular case, IIS works locally and it means that remote path is always the same as local one. For example if you have web root in d:\myiiswebroot\ both project root directory and its remote path should contain d:\myiiswebroot\ |
||||||||||||
_________________ The PHP IDE team |
problem with IIS virtual directory and PHPED settings |
|
Hi
I run PhpED on windows 2003 server, iis6.0, php5.2 I configured PHP.INI as suggested in the FAQ I created a virtual directory in IIS - the path is THE SAME than the path where is stored the project: c:\program files\nusphere\phped\projects\projet1 The port number is 8787 In PhpED, I configured the project properties: root dir = ...project1 run mode = http mode 3rd party root url = http://localhost:8787 remote root dir = ...project1 When I click OK I have the following message: "can't run ...\project1\file1.php make sure that remote root directory and root url are correct in the project settings" Where is/are my error(s) ? If the field remote root dir is empty: "specify the web server document root directory" If the filed remote root dir contains C:\inetpub\wwwroot: I have "can't run ...file1.php" Thank you by advance |
||||||||||||
|
Site Admin
|
please make sure that the file you're trying to run with IIS is in the WEB directory tree.
You may want to have your project root directory pointing there. For further details on how to set project properties, please check this post howto-set-project-mapping-t2135.html |
||||||||||||
_________________ The PHP IDE team |
Newbie: Confused about SRV Local vs 3rd Party |
|
||
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