Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
December 6, 2015
Chris
PHP
Comments Off on How to install PHP 7.0 on Ubuntu 14.04 LTS

How to install PHP 7.0 on Ubuntu 14.04 LTS

Previous

You want to install PHP 7 within 60 seconds ? No problem, but first make sure you have a fresh installation of Ubuntu 14.04 (LTS) here, sudo rights and no existing version of PHP on this system. Please note that this is only for Ubuntu, not for other operating systems! It might work too on Debian.

 

1. Add package source to your system:

It always takes some time until new versions of PHP (and other languages) are available via regular packages on Ubuntu systems, so this awesome guy called Ondřej Surý offers pre-packaged builds of new PHP versions right after they have been released. This is awesome, and we should be thankful for these excellent packages, so if this works for you, consider spending him a beer or a coffee via his donation page. However, please keep in mind that this is a superfresh version and an unofficial package!

On the command line, simply type

sudo add-apt-repository ppa:ondrej/php

and confirm the upcoming dialog with ENTER. If you get an error here, you need to install python-software-properties first (and then do the line above again):

sudo apt-get update
sudo apt-get install python-software-properties

 

2. Update Ubuntu package sources

Then download and update the Ubuntu package lists via

sudo apt-get update

 

3. Install PHP 7.0.x

And now install PHP via

sudo apt-get install php

Confirm with “y” and ENTER. Done! Make sure you are typing “php”, not “php5”, this might be confusing as in the last 10(?) years it has always been php5. To check if everything has been installed properly, do

php -v

The result should be something like this:

PHP7

Boom! Have fun with the awesome new version!

Share this
photoshop-cc-deal

Adobe offers Photoshop for $9.99 per month (limited deal)

Currently Adobe offers the very latest version of Photoshop (which is Photoshop CC) for just $9.99 or 12,99€ (EU zone:

[Link] Redesigning SoundCloud by Evan Simoni

Again, an interesting approach / proof-of-concept on a redesign of a major website. Evan Simoni has overthought SoundCloud’s UI and

vagrant

A preinstalled Vagrant box with PHP HipHop / HHVM and Ubuntu 13.10 (Saucy Salamander)

Here’s an excellent downloadable Vagrant box that’s brings you a preinstalled HHVM / HipHop for PHP within a Ubuntu 13.10

vagrant

How to copy Vagrant boxes (or duplicate them)

Copy vagrant box & compress it Making a real 1:1 copy of a Vagrant box is really easy ! Simply

Serious hard-to-fix bug in OAuth and OpenID discovered, lots of major sites affected

Just a short notice rather than a real article, full story later (I need to check the facts): Several sources

Frontend Ops Conf 2014 – Keynote by Alex Sexton: “Front End Operations”

https://www.youtube.com/watch?v=7HGe8zZ1G6k

sass laravel

Extremely easy SASS in Laravel (with pure PHP)

Working with SASS is awesome: it reduces your workload dramatically, makes web projects much cleaner, DRYs your code, adds awesome

Hacking ATMs – A conference talk about the current security state of Windows XP driven cash machines

A few days ago the 30th edition of Germany’s Chaos Communication Congress took place, a high-profile event for IT-security and

Going node.js at Netflix (Slides by Micah R of Netflix)

It’s awesome how node.js takes over the absolute AAA-level corporate world. Note that node.js is still an early alpha product

php

[Link] How to create, read, update and delete (CRUD) with PDO, MySQLi and MySQL the right way (prepared statements)

Mike Dalisay has written an excellent tutorial on the CORRECT USAGE of basic CRUD functions (create, read, update, delete) with

1/4

Categories

Search

vagrant
How to setup a (or multiple) server/LAMP-stack inside a virtual machine for local development with Vagrant and PuPHPet
Compare 250+ cloud server plans with Cloud Cost Calculator
Berlin, prepare for TOA conference (15th – 17th of July)
october cms
[Link] How To Install October CMS on a VPS running Ubuntu 14.04
composer
A short & simple Composer tutorial
Joshua Davis – my hero of Flash – in two excellent interviews (audio, video)
html6
Is this the first HTML6 specification?
Bézier Curves – Under the Hood (4min video)
php
PHP 5.7 gets refactored core, is 10%-30% faster than PHP 5.5! Wow!
php
How to setup / install PHP 5.6 on Ubuntu 14.04 LTS
hiphop php
PHP’s HipHop outperforms PHP 5.5 with Zend OPCache and Nginx by 15-20 times
How to show memory usage (Ubuntu)
composer
[Link] How to require versions of PHP, HHVM / HipHop, GD, curl, openssl etc. with Composer
github-logo-octocat
GitHub rolls out .PSD diff and viewing
Symfony devs: Creator of Symfony framework is hiring (Cologne, Germany)!

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy