How to set server path correctly - beginner question [message #657573] |
Thu, 03 March 2011 05:36  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04263 seconds