
PHP 7.0 new features
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 php.net. 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.
RESOURCES
- PHP 7 timeline
- PHP 7 new features article on Digital Ocean
- Upgrade to PHP7
- The whole Rasmus presentation with slides:
https://www.youtube.com/watch?v=eBJdi_h_rKM