We help IT Professionals succeed at work.

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

5,101 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
Comment
Watch Question

CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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.
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Commented:
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.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.