![]() Initally you will be looking at a blank Workspace ready for you to create a project. ![]() The Workbench is where you will do most of your coding and even testing so it is worth getting to know. The tutorials and other pages on offer are not very helpful to the PHP programmer so your best option is to click on the Workbench icon which is unhelpfully well over to the right. Once you have set up the default Workspace you will see the Eclipse Welcome screen. This is most easily achieved by storing the Workspace files below the web server's root folder - often called www or Inetpub in the case of other installations. ![]() ![]() The reason is that when you come to run your PHP program Eclipse will generate a URL and expect the web server to find the file and serve it to the browser. You can opt to set up a Workspace anywhere but the simplest option is to place it within the folder structure of the web server. Start Eclipse and when it asks you to select a Workspace browse to \xampp\htdocs or to the htdocs folder where you installed XAMP.
0 Comments
Leave a Reply. |