I have installed XAMPP and aptana.
But when I run my php file it shows me a text format of it.
(I've started XAMPP in the background)
What did I do wrong?
Edit:
Now I think I found the problem, aptana opens the file with the port 8020 and not 80, how can I change that? (to 80)
Best Answer
This is probably not the ideal setup, but this is what I've used:
Setup:
Place your project in your XAMPP directory, e.g.
xampp\htdocs\<project>
:Make sure that Apache is running and accessible via your browser:
Go to
Run > Run Configurations...
and create/edit a browser underWeb Browser
:Add the
Browser Executable
, set Server toUse base URL
(e.g.http://localhost/
), and selectAppend project name
:Demonstration:
Now you can open the current page on your XAMPP server by clicking the Run dropdown icon and selecting the browser: