Community
Participate
Working Groups
I upgraded to the 2.2 milestones version here http://download.eclipse.org/tools/pdt/updates/2.2/milestones in order to fix the problem with the compare editor. However, since doing that, I have a new problem when trying to configure my PHP Web Server. If you go to Windows->Preferences->PHP->PHP Servers and configure a server, it will not let me put in anything after the http://localhost. As soon as I put in another "/", I get the error indicator and message "Please enter a valid Server URL (<protocol>://<server url>[:<port>])". For example, my server should be "http://localhost/joomla_development" and it won't let me enter that. Because of this, I can't use the launch and debug configurations. I tried reverting the installation and it still doesn't let me enter this. Not sure where to look to fix it. Thanks.
Moving to PDT since it doesn't seem to be related to EPP.
Sorry, I thought I had put it to PDT. Thanks.
The server entity was designed to represent a host name not an application directive. As a valid host name should exclude any base URLs, it was intentionality validated by this wizard. The right way to accomplish what you want is to go to the PHP Debug property and set the base path of the application this will be used every time you launch or debug applications. I am closing this issue but if you feel like my answer is not good enough please reopen and explain in details what you would expect to have.
Roy, the PHP Debug property that allows you to set the base path of the application is located where exactly? My assumption is somewhere in Window -> Perferences -> PHP -> Debug? Thanks in advance.
As Mark Dexter stated without this ability you cannot launch and debug your php projects. Here is how you can set it up, but you have to do it for each individual project. create the PHP project, in the project explorer / workspace window, right-click the project, highlight "PHP Debug", check the "Enable project specific settings" checkbox, last, fill in the "Default Base URL" text box, in my case it would have been "/joomla_development". I hope this helped, please give thanks to Roy Ganor, as he emailed me the instructions and asked me to post. Thanks Roy!
The last advice did not work for me anyway. The settings saves but do not work. In the browser shows the old path to the project - http://localhost.
Using PDT Indigo + pdt-Update-N201107150957 the behavior is as described one in Comment 5 Closing...