Solved

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

Posted on 2009-04-02
4
4,184 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

689 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