Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

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)

share|improve this question
How do you have Aptana configured for PHP? We need more details. Is the page being opened in an external browser (e.g. Firefox)? Is the PHP file hosted on the XAMPP server (e.g. xampp/htdocs/...)? –  iglvzx Jul 10 '12 at 16:58
I have a project in the xampp/htdocs directory and aptana opens the file in the editor via Firefox. –  funerr Jul 10 '12 at 17:00
Can you access your local XAMPP server outside of Aptana? Apache needs to be running. What happens when you go to localhost or in your browser? –  iglvzx Jul 10 '12 at 17:03
@iglvzx Yes I can. –  funerr Jul 10 '12 at 17:04
(If I downlaoded "Aptana Studio 3.2.0 standalone" will it be ok or do I need any more plugins?) –  funerr Jul 10 '12 at 17:10

1 Answer 1

up vote 4 down vote accepted

This is probably not the ideal setup, but this is what I've used:


  1. Place your project in your XAMPP directory, e.g. xampp\htdocs\<project>:


  2. Make sure that Apache is running and accessible via your browser:

    xampp control panel


  3. Go to Run > Run Configurations... and create/edit a browser under Web Browser:


  4. Add the Browser Executable, set Server to Use base URL (e.g. http://localhost/), and select Append project name:



Now you can open the current page on your XAMPP server by clicking the Run icon dropdown icon and selecting the browser:



share|improve this answer
No, It still outputs the contents of the php file... and it alerts(when I hit the run button: "The selection can not be lanced"). –  funerr Jul 10 '12 at 19:12
@iglvzx Hello. Is there a way to automatically set the project to copy itself in the xampp folder? How can i do that? Thanks! –  Geo Papas Jan 3 '13 at 0:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.