Sometimes the browser downloads php outpout instead of displaying it in browser
hi
on my site, it seems the browser sometimes attempts to download a PHP file instead of showing it's HTML output in the browser.
if I go along with it and download the PHP file (for example "index.php"), I see that it doesn't actually contain the PHP source code but the HTML output of it,
the weird thing is that it happen every once in a while... e.g: the same file "index.php" sometimes works fine in the browser and sometimes firefox tries to download it.
and it can happens to any .PHP file on the site, not a particular one.
Is this something that needs tweaking in apache ?
|