PDA

View Full Version : [ubuntu] Downloading files instead of viewing in browser



ebest97
January 12th, 2011, 09:18 PM
Hello. I am wondering why PHP files are downloading instead of viewed in the web browser. It's phpSysInfo to be exact. I got this fixed on Linux Mint but can't remember how I did it.

Thanks!

wongo888
January 13th, 2011, 12:13 AM
Did you install your app via:


$ sudo apt-get install phpsysinfo

Did you try:


$ sudo aptitude install php5 libapache2-mod-php5

Try to see if php5 is loading:


$ apache2ctl -M | grep php
php5_module (shared)
Syntax OK