Installing PHP5 and Apache on Ubuntu

Installing PHP5 and Apache on Ubuntu

How to install php apache server on ubuntu linux offline 2016 100% working

MySQL Installation on Ubuntu Linux distribution
How To Change password of User if You Forgot ? [Linux] [Updated]
Top 99 Linux operating systems according to Distrowatch [2016][Updated]

If you are doing any kind of PHP development or PHP Project, you’ll almost always be using Apache along with it. Here’s the quick and easy way to get PHP up and running on your Ubuntu.

Run the following command from a terminal prompt:

sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart

For Checking The PHP installed on Your system or not  …
Open the Browser And enter the localhost in address bar …if you get output like screenshot then the php installed on your machine …

Installing PHP5 and Apache on Ubuntu

Note that if Apache is already installed you can omit the first line. Your web files will now be found in /var/www/

COMMENTS

WORDPRESS: 0
DISQUS: 0
banner