When I run localhost/filename.php in the chrome web browser it does not display the output of the code using that filename but the underlying code. I have tried to eliminate as many of the possible factors, so I know that the same file works on a different mac when localhost/filename.php is used. I have also tried to use it on the safari web browser - same problem.
I am running out of ideas of how to fix or narrow down the problem so I am just asking on the of chance someone has been in the same situation and knows how to fix it?