by
Janeth Kent
Date: 16-08-2013
After upgraded some packages in my ubuntu server, sometimes php configuration goes crazy and PHP files are downloaded by browser instead of processed by the server, how to solve it? Here are the steps to solve fastly the problem.
Follow thiese commands:
Code:
sudo a2enmod php5
and it said "Module php5 already enabled".
re-starting apache2 with the following command:
Code:
sudo apache2ctl restart
and PHP started parsing and working fine after that.
Alternatively use these steps too:
I already have apache2 server running on my machine, so I reinstall only PHP5 and mySQL 5 using
Code:
sudo apt-get install php5-mysql libapache2-mod-php5 mysql-server
(During the installation, the apache2 server on my machine stops and re-starts.)
Then repeat the steps above.
by
Janeth Kent Date:
16-08-2013
hits :
3902
Latest news from Hi-Tech world
The image you see above was drawn especially for this article, but did not require any artistic skills or vein from its author. It was created by DALL-E, an artificial…
Unsurprisingly, artificial intelligence is an industry buzzword that continues to grow in popularity as the months go by. The reason is there´s always an advancement in AI that company owners…
Domain Factors
1. Domain Age: In this video, Matt Cutts states that:
“The difference between a domain that’s six months old verses one year old is really not that big at all.”.
In…
GZIP compression allows you to compress the resources of a web page before they are served to the users' browsers so that the web page loads faster and thus improves…
What happens if we realise that a series of databases that we thought were optimised through the use of indexes, have begun to consume CPU usage time of a server…
In this short tutorial, we are going to see what the endsWith method, introduced in JavaScript ES6, is and how it is used with strings in JavaScript.
The endsWith method is…
Normally the way to load images in HTML is through the img element to which we pass as a parameter the URL of the image to load. But since HTML5…
Symbols are a new primitive value introduced by ES6. Their purpose is to provide us unique identifiers. In this article, we tell you how they work, in which way they…
Callback functions are the same old JavaScript functions. They have no special syntax, as they are simply functions that are passed as an argument to another function.
The function that receives…
META: Read on to find out the best ways to get people engaged – and most importantly, staying – on your app.
IMAGE: https://unsplash.com/photos/ZVhbwDfLtYU (Unsplash)
A mobile app is nothing without users.…
Corporate social responsibility or CSR is a company's conscious effort and commitment to positively impact various aspects of society, including the environment and community. There are different types of social…
Creating dynamic PDF files directly in the browser is possible thanks to the jsPDF JavaScript library.
In the last part of this article we have prepared a practical tutorial where I…
Cyber-violence, i.e. the digital dimension of violence that mainly affects women and is closely linked to the violence that occurs in the 'real world', is a growing phenomenon that is…
Online gaming and video games is one of the most popular ways in which people choose to spend their free time. Given the quality of the recent releases, this isn't…
The release of Return to Monkey Island (September 2022) has jogged video game fans' memories back to 1990, when The Secret of Monkey Island debuted, a graphic adventure based on…
If you have just launched a new startup one of the things that should be top of your agenda is creating an effective social media strategy. No sane business owner…
Unstructured Supplementary Service Data (USSD), sometimes known as "quick codes" or "feature codes", is an extra-UI protocol, which allows people to access hidden features. This protocol was originally created for…
We already talked about Deep Web more than a year ago, explaining that to open Deep Web (or rather Dark Web) sites you need total and undetectable user anonymity and…
The first video videogame tournaments: the origin of "eSports".
Electronic sports or "eSports" are video game competitions that have been increasing in popularity over the years, being a lucrative sector that…
The power of web content is infinitely superior to what you think; in other words, it is much more important what you publish and what you transmit, than where you…