Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Doesn’t work for me on Ubuntu 14.04.3 & Nginx 1.9.7…
I’ve added the PPA and updated the package cache, but got this when trying to install php7.0-fpm:
apt-get install php7.0-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php7.0-fpm : Depends: php7.0-cli but it is not going to be installed
Depends: php7.0-common (>= 7.0.0-6+deb.sury.org~trusty+1) but it is not going to be installed
Depends: php7.0-json but it is not going to be installed
Depends: php7.0-opcache but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried to install them all, but I keep getting more dependencies and conflicts
The following packages have unmet dependencies:
php7.0-cli : Recommends: php-readline but it is not installable
Breaks: php5-cli but 5.5.30+dfsg-1+deb.sury.org~trusty+1 is to be installed
php7.0-common : Conflicts: php5-common but 5.5.30+dfsg-1+deb.sury.org~trusty+1 is to be installed
E: Unable to correct problems, you have held broken packages.
@bojanrnr i had same issue but i used the following command to remove PHP 5.6 first
sudo apt-get -y purge php5
I can get PHP 7 running on Ubuntu 14.04 with Nginx, but I can’t get phpmyadmin installed even using the latest version because php-gettext and php-seclib are missing from the PHP 7 install. HAs anyone gotten phpmyadmin to work and willing to post directions?
Got the following error after installing php7.0-mcrypt. Anyone have a solution?
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
Thank you for writing this article.
I’m getting a 500 error code after following the tutorial with a LAMP on Ubuntu 14.04. Replicated every step perfectly but it seems like PHP7 and MySQL won’t work together. Any ideas?
I have just tested this and it refuses to work for me and just goes around in circles with unmet dependencies.
Trying to run this:
sudo apt-get install php7.0
Results in:
The following packages have unmet dependencies:
php7.0 : Depends: libapache2-mod-php7.0 (>= 7.0.1-2+deb.sury.org~wily+1~) but it is not going to be installed or
php7.0-cgi (>= 7.0.1-2+deb.sury.org~wily+1~) but it is not going to be installed or
php7.0-fpm (>= 7.0.1-2+deb.sury.org~wily+1~) but it is not going to be installed
Depends: php7.0-common (= 7.0.1-2+deb.sury.org~wily+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So then I try to install libapache2-mod-php7.0 and get a different unmet dependency:
The following packages have unmet dependencies:
libapache2-mod-php7.0 : Depends: php7.0-cli but it is not going to be installed
Depends: php7.0-common (= 7.0.1-2+deb.sury.org~wily+1) but it is not going to be installed
Depends: php7.0-json but it is not going to be installed
Depends: php7.0-opcache but it is not going to be installed
Conflicts: libapache2-mod-php5filter but 5.6.11+dfsg-1ubuntu3.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Then finally I try to go back one more stage and install php7.0-cli but this also doesn’t work due to unmet dependencies:
The following packages have unmet dependencies:
php7.0-cli : Depends: php7.0-common (= 7.0.1-2+deb.sury.org~wily+1) but it is not going to be installed
Depends: php7.0-json but it is not going to be installed
Depends: php7.0-opcache but it is not going to be installed
Recommends: php-readline but it is not going to be installed
Breaks: php5-cli but 5.6.11+dfsg-1ubuntu3.1 is to be installed
E: Unable to correct problems, you have held broken packages.
If I instead try to purge PHP5 first then it removes Roundcube and PHPMyAdmin and they refuse to install again afterwards due to missing modules.
Is there anything else I can try?
Thanks Robin
I am getting on Apache installation
This comment has been deleted