Solved

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

Posted on 2009-04-02
4
3,969 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now