Apache sends php source code to XMLHttpRequest

I think I put my question on a wrong sub-forum. My problem is I can’t get apache to produce right output to XMLHttpRequest responseText but instead it displays php source code. On another server the same code works as it should.

When I open the php script on a browser window it works as it should.

this is the thread in programming sub-forum
Apache sends php source code to Ajax - openSUSE Forums

I’m using Firefox 3.04 and SuSE 11.1

This may be because you have not configured the server to interpret PHP. It may also depend on what directory you put the php file in. Also remember that the file must end in .php. I think these were mentioned in your other thread. For sure this is not a network problem.