Skip to main content



      Home
Home » Newcomers » Newcomers » [Solved] Eclipse JavaScript, executing php file from wrong location.
[Solved] Eclipse JavaScript, executing php file from wrong location. [message #1821330] Mon, 10 February 2020 17:38
Eclipse UserFriend
As you may know, for a PHP file to execute, it must be located in the directory specified by the web server.

I use xampp, and have it set to the directory:
C:\xampp\htdocs

As such, the php file is located in:
C:\xampp\htdocs\RobinNixon_JS_2\17

When I right click the file in Eclipse, it displays the following:
http://i.imgur.com/Lgvx8wjl.png

This is what the PHP looks like when I run it from Eclipse
http://i.imgur.com/GPVVTrwl.png

Changing the url at launch time, was able to solve the problem, after right clicking on project file in eclipse → properties → launch configuration box → edit or delete:
http://i.imgur.com/fi4LA1Ml.png

[Updated on: Mon, 10 February 2020 18:55] by Moderator

Previous Topic:Eclipse Install Java error
Next Topic:Error when trying to install/update JavaFX
Goto Forum:
  


Current Time: Tue Jul 08 09:01:03 EDT 2025

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

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

Back to the top