Skip to main content



      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 05:36 Go to next message
Eclipse UserFriend
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 17:45 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 19:02:00 EDT 2025

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

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

Back to the top