Project properties, FTP account settings and remote sync |
Site Admin
|
You may setup multiple apache virtaul hosts. Each on a separated hostname, defined in hosts file as an alias for 127.0.0.1. It will be just one instance (two apache processes as usual). Anyway, local debugging does not require any FTP or remote directories. If you want to publish your files to remote host, just specify FTP account and top publishing directory. URL is not required for this. |
||||||||||||||
|
|
Thanks for the quick answer. I understand I don't need FTP for local debugging, but I do want to take advantage of syncing the actual (remote) site with my local site.
When you say "just specify FTP account and top publishing directory..." If my project has only the 'www' subfolder with everything underneath it and the FTP account has only a 'www' folder (an alias for the physical web root directory), what should the value be for the "top publishing directory?" In the help, it says it should be the physical directory, which implies something like X:\Some\Path\To\RemoteSite for a windows server, but the FTP server seems to want only FTP path values - e.g. '/' or '/www'... BTW, I can FTP using other FTP clients without issue. I'd just like to be able to stay within the IDE as much as possible. And, thanks for the reminder about Apache and VirtualHost entries - I've just been lazy, I guess. |
||||||||||||
|
Site Admin
|
Top publishing directory is always relative to the FTP root which does not always corresponds to the physical file system root. In other words, take a file in the project root, say index.php. If should be transferred into /www/index.php, then /www is what you need to set in the Top publishing directory.
I already posted similar suggestion with more details in this forum. |
||||||||||||||||
|
Project properties, FTP account settings and remote sync |
|
||
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