Solved

How to use IIS as local server with Eclipse IDE for PHP web development ?

Posted on 2009-04-02
4
4,095 Views
Last Modified: 2013-12-15
Hi
 I'm using Win XP Pro, Internet Information Server (5.1), MySQL(5.0.24) and PHP (5.1.5) ... that's WIMP ;) and have been doing so without issues for some lightweight web development for quite a while, using Dreamweaver MX 2004 as the development platform.
Recently decided to give the superb Eclipse IDE a run (that is, the Zend 'all-in-one' with PDT and Zend debugger). This again works very well except for one thing I haven't got my head around yet.
If I run a PHP script, as a script, then I get a 'debug' tab and a 'browser' tab appearing in the bottom of the IDE window, OK but ...
If I run the script as a page, it can't find the page to open in either the internal or external browser (IE7). I've tried many alterations to Eclispe's server setup but no joy. We know PHP / MySQL are correctly setup to work with IIS, through the Dreamweaver development so far, so it seems that somehow I have to 'marry' my Eclipse workspace to IIS's web root folder.
How do I go about this ? ... I've read vague references to creating a common virtual folder but I really don't know if that's correct or exactly what's meant by it.
Suggestions gratefully received but perhaps not changing the 'I' in WIMP to an 'A' just yet ;)
TIA
RR
0
Comment
Question by:RetroRocker
  • 2
  • 2
4 Comments
 
LVL 22

Assisted Solution

by:cj_1969
cj_1969 earned 250 total points
ID: 24062126
Try this page ... http://www.devarticles.com/c/a/Web-Authoring/Deploying-your-Site-with-phpEclipse/
You should be able to set up IIS to use the ftp or webDAV export methods to publish your site to IIS.

I can't find anything more specific on publishing to IIS.
0
 

Author Comment

by:RetroRocker
ID: 24078096
I genuinely appreciate the link, thanks. It clearly hints at the Eclipse export function being the key but unfortunately it does then go on to say that after Eclipse v 3.1, the use of FTP or WebDAV to deploy files to a server is not supported (or at least that is, does not work). I'm sorry that I forgot to emphasize that I wished to deploy files to a local server (in this case IIS) on a single development machine.
While the article was informative , it doesn't really help resolve the issue and I am really wondering if it is actually possible to deploy and test Eclipse generated PHP files on a local server such as IIS.
If you or anyone has any further information, it would be greatly appreciated.
0
 

Accepted Solution

by:
RetroRocker earned 0 total points
ID: 24114424
EE are now calling 'time' on this one. Thanks for your commenta cj_1969, it did help but the issue still remains essentially unresolved. I have decided to award half of the points (250) for the help. I guess I'm a little surprised that it didn't attract more comments because Eclipse PHP development is probably fairly common.

RR
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24129699
Just back from vacation ...
Too bad that didn't work.
I wish I had a box to test on ... unfortunately there is not a lot of information out there on this so without testing it myself I'm afraid I won't be of much further use anyway on this.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question