Ever since I upgraded from Ubuntu 9.10 to 10.04 beta, my local .php urls are acting funny esp at virtual hosts.
Sometimes it works, but mostly it gives a blank page and at other times it asks for downloading the php file.
This is really random - I keep hitting F5 and any one of the above can occur.
Worst part is, its not consistent. It doesnt happen for custom scripts at localhost. Mainly WordPress and Magento. Im guessing something to do with htaccess directives.
Its like as if AddHandler / SetHandler is going on and off.
Code:
$ apache2ctl -l
Compiled in modules:
core.c
mod_log_config.c
mod_logio.c
prefork.c
http_core.c
mod_so.c