404 php file, path click downloads the file
I'm running a ubuntu lamp stack, I have a js script which requires via ajax a php file, when I run the script It throws a 404 error can't find the php file. However when I click the path it says it has 404'd on it downloads the php file it should be running? Therefore the path is correct?
This is the contents of an inspection:
Remote Address: 188.8.131.52:8000
Status Code:404 Not Found
Date:Mon, 30 Nov 2015 11:10:22 GMT