[Solved] Eclipse JavaScript, executing php file from wrong location. [message #1821330] |
Mon, 10 February 2020 22:38 |
Nik Tes Messages: 5 Registered: February 2020 |
Junior Member |
|
|
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:
This is what the PHP looks like when I run it from Eclipse
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:
[Updated on: Mon, 10 February 2020 23:55] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.07924 seconds