From LedHed's Wiki
Revision as of 16:32, 8 October 2012 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If when you browse to a .php file and the browser wants to download it instead of rendering the page then the webserver is missing the PHP modules.


Ubuntu/Apache2

apt-get install libapache2-mod-php5

This will install the PHP5 module and enable PHP within Apache2.


References

http://stackoverflow.com/questions/6245895/apache2-on-ubuntu-php-files-downloading