THE IT IDEAS

  • Home

Friday, 22 April 2016

How to Install PHP 7.0, Apache 2.4.18, & MySQL 5.7 on Ubuntu 16.04 LTS

 THE IT IDEAS     13:37     php7, ubuntu, ubuntu 16.04, ubuntu16   


Update your repo list with below command

$ sudo apt-get update

-- > Install Apache 2.4.18

$ sudo apt-get install apache2

-- > Install PHP 7.0

$ sudo apt-get install php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-json

-- > Install MySQL 5.7

$ sudo apt-get install mysql-server

Create info.php file at /var/www/html/info.php with your favorite editor and paste  below mentioned code in that file and check php7 with apache2 is running.

<?php
phpinfo();
?>

-- > Once finish with info.php open http://localhost/info.php or http://127.0.0.1/info.php then you can able to see page like below.



Its done Enjoy !!!! :)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Older Post Home

Like Us !!!

Recent Posts

Blog Archive

  • ▼  2016 (1)
    • ▼  April (1)
      • How to Install PHP 7.0, Apache 2.4.18, & MySQL 5.7...
  • ►  2015 (12)
    • ►  August (1)
    • ►  May (2)
    • ►  April (8)
    • ►  March (1)
  • ►  2014 (23)
    • ►  December (8)
    • ►  November (12)
    • ►  April (2)
    • ►  March (1)
  • ►  2013 (7)
    • ►  December (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (3)
  • ►  2012 (15)
    • ►  December (6)
    • ►  November (9)

Categories

apache2 EC2 error mysql php ubuntu aws aws rds browser github installation linux mount s3 AWS Bucket CentOS Computer DocumentRoot change How to Benchmarking Webserver IP LAMP Restart Computer SCP command SQL SERVER XRDP administrator amazon rds backup basic commands chat command line disable download drupal ec2.chroot environment external storage device fstab functions geoip gmail google home page iis instance internet java mod rewrite mongodb multiple login network password one password php5 php5-fpm php7 private browsing python repair filesystem repo reset password rhel sa password same computer script sftp share skype ssh tomcat ubuntu 16.04 ubuntu16 visudo windows 8 youtube
JobsMagBlogJobsMag.InThingsGuide

Popular Posts

  • How to Surf Privately in Google Chrome
    First open the Google Chrome  Click on Customize and Control Google Chrome at Right hand top as below Now Click on New incognito W...
  • How do increase the connection limit for IIS in Windows XP
    Follow the Instruction to increase the Connection limit for iis in Windows XP  Open Command prompt and write down below ment...
  • How to enable built-in Administrator account in Windows 7 ?
    How to enable built-in Administrator account in Windows 7 ? First you’ll need to open a command prompt in administrator mode by right...

Copyright © THE IT IDEAS | Powered by Blogger