Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How to set server path correctly - beginner question
How to set server path correctly - beginner question [message #657573] Thu, 03 March 2011 10:36 Go to next message
sangzhuthy  is currently offline sangzhuthy Friend
Messages: 3
Registered: May 2010
Junior Member
Hi! I am trying to set up Elipse for Joomla development.

I am using an user account on a fedora linux machine.

My doucment root is : /home/myname/public_html

My web server root is: http://localhost/~myname/

my workspace is: /home/myname/public_html/joomla16_dev

Now, in Eclipse, I go to:

window -> preference -> PHP -> PHP Servers

I setup default PHP web server as: http://localhost/~myname/joomla16_dev/

after this, I write a very simple script and run it as PHP web page. However, in my firefox browse, the address was:

http://localhost/joomla16_dev/myscript.php

How do I do the set up so that I will have the correct address as:

http://localhost/~myname/joomla16_dev/myscript.php

Please help. Thank you.

Re: How to set server path correctly - beginner question [message #667294 is a reply to message #657573] Wed, 27 April 2011 21:45 Go to previous message
Alex Angelico is currently offline Alex AngelicoFriend
Messages: 9
Registered: November 2010
Junior Member
At Project \ Properties \ PHP Debug you can add a PHP Server. You can also change the Base PAth.

That said, everytime you run/debug a file for the first time, it ask the URL. You can change it there.

If is not asking, then click the down arrow at the side of the debugger button, select Debug Configurations, and there delete the configuration of the file below PHP Web Page.

Next time you try to debug Eclipse will ask for the URL
Previous Topic:How to set up Eclipse for PHP
Next Topic:First time Eclipse PDT question
Goto Forum:
  


Current Time: Mon Dec 22 11:33:26 GMT 2014

Powered by FUDForum. Page generated in 0.01669 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software