Saturday, April 6, 2013

PHP files downloading instead of executing

When you open your site php files are downloading instead of executing follow these simple steps and you will be good to go again.

first, install libapache2-mod-php5

sudo apt-get install libapache2-mod-php5

Then enable it

sudo a2enmod php5

Restart apache

sudo service apache2 restart

Clear your cache on your browser, and re-load the page.

Your php files should start executing again and you will see your site.

1 comment:

  1. We also make the most of the highest high quality metal and casting applied sciences via our personal inhouse metal forging division. All of that is accomplished to maximize the lifetime of our all electric injection molding machines. It SECURITY CAMERAS is very common common} for customers who use solely electric injection molding machines to solely have chillers in their plant. This is outcome of|as a outcome of} they no longer have a need for the excessive temperature circuit of cooling (85-95F) for their machines however solely require the low temperature circuit of chilling for their molds and feed throats. Having fewer pieces of apparatus obviously means, less capital invested, less maintenance and upkeep prices, less power consumed, and lower overhead prices. Instead of being driven by a hydraulic system, electric injection molding machines are digitally controlled with high-speed and highly-efficient servo motors to drive the whole course of.

    ReplyDelete