NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Need help with project properties.


Joined: 03 Dec 2006
Posts: 8
Reply with quote
I'm unable to get the run command to work on a 3rd party webserver, with or without the debugger. PHPEd says there is a problem with the project URL and/or directory. These appear to be set correctly, what's the best step for diagnosing this?

Project: C:\Program Files\nusphere\phped\Projects\project1.ppj
Root Directory: C:\Program Files\nusphere\phped\Projects\project1

Mapping:
Run Mode: HTTP mode (3rd party WEB server)
Root URL: http://myserver
Remote root directory: /home/username/www

The file I'm attempting to run, phpinfo.php, will run from the browser without any problem, i.e.: http://myserver/phpinfo.php

Any thoughts on what I'm doing wrong?
View user's profileFind all posts by drosen001Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Please correct http://myserver to http://myserver/
and let know if this helps

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Dec 2006
Posts: 8
Reply with quote
Turns out that I was entering the root folder as /home/abc/www, which is OK. However since www is a link to public_html, I needed to change the root folder to: /h9ome/abc/public_html.

Project manager and debugger are working great now. Only wish I had purchased it a year ago Smile

One more question, I've got the debugger.host = localhost and are tunneling via SSH. I assume this is as secure as we can get since our development and live server are on the same physical system (different accounts).
View user's profileFind all posts by drosen001Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
I've got the debugger.host = localhost and are tunneling via SSH. I assume this is as secure as we can get

You'd use
debugger.hosts_allow=localhost
debugger.hosts_deny=ALL
and finally, say you have 4 developers in your team who will SSH-tunnelling to the server and work with debugger. Each would get his/her own TCP PORT, for example 7870, 7871, 7872 and 7873
In this case debugger.ports will look like below
debugger.ports=7870/4
or
debugger.ports=7870 7871 7872 7873

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Need help with project properties.
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic