Gainster
Gainster

Reputation: 5631

How to set virtual directory for php

I am learning php. I am learning through by looking at structure of existing web site. I can configure it correctly.

I dont how to set the virtuall directory for web site. Like ASP.NET you have either host the site on IIS or you can use local ISS. Is there any such thing with PHP.

I am using eclipse for development.

enter image description here

Upvotes: 0

Views: 232

Answers (1)

Demian Brecht
Demian Brecht

Reputation: 21368

If you're only running a single site on your Apache server, then you simply have to set the DocumentRoot and Directory entries to match your document root.

Upvotes: 2

Related Questions