- Take into consideration this may break old legacy applications.
- Syntax changes may be required for old legacy applications.
- Therefore do not run this in production environment.
- Instead you need to consider creating a test enviroment using the below instructions.
- Ubuntu 14.x does not include PHP7 by default. There is not a fixed date on when Ubuntu will include PHP 7 in the official repository.
- My webserver of choice is nginx over apache. No problem so far using nginx.
- If you run into problems please read the output from error.
- Usually the output contains the fix for the error.
- sudo apt-get install python-software-properties
- sudo add-apt-repository ppa:ondrej/php-7.0
- sudo apt-get update
- sudo apt-get purge php5-fpm
- sudo apt-get install php7.0 php7.0-fpm php7.0-mysql
- sudo apt-get --purge autoremove