Skip to main content
Image for post: PHP 7.0 new features

PHP 7.0 new features

What's new in PHP 7

Rasmus Lerdorf has revealed all the new features during a preview before the launch of PHP 7: check out this slide. I'm having a lot of problems to switch from a PHP 5.6 installation on Ubuntu or Kali Linux. Even PHPBrew is not helping me so I accept any hints and solutions. But let's see how we can install PHP 7. First of all we have to add the ppa:

sudo add-apt-repository ppa:ondrej/php

Install PHP7.0:

sudo apt-get install php7.0

If you are using MySQL, add MySQL binding:

sudo apt-get install php7.0-mysql

Installation on Windows

Here is the documentation on I used to install Appserv or similar software to have the LAMP stack. Appserv, Wamp, and Ampps are now supporting PHP7. Actually, I have not tried to install them so I cannot write specific feedback.