Solved

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

Posted on 2009-04-02
4
4,019 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

930 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

12 Experts available now in Live!

Get 1:1 Help Now