How to properly install php7.0 (7.0.9 - latest version)?
Tofloor
poster avatar
tim0101
deepin
2016-08-19 06:29
Author
Edited by tim0101 at 2016-8-18 22:32

Hi,

I'm trying to install php7 but having some trouble because of some depencies and stuff.
I'd used to follow these steps: http://www.rolandolucio.com/howt ... e2-ubuntu-lamp.html

--------------------------------------------------------------------------------------------------
sudo apt-get install python-software-propertiessudo add-apt-repository ppandrej/php
sudo apt-get updatesudo apt-get purge php5-fpm
sudo apt-get install php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0 php7.0-mysql php7.0-fpm php7.0-mysql
sudo apt-get install php7.0-cgi php7.0-dbg php7.0-dev php7.0-curl php7.0-gd
sudo apt-get install php7.0-mcrypt php7.0-xsl php7.0-intl
--------------------------------------------------------------------------------------------------

This always worked perfectly.
However on Deepin I'm getting an error as soon as it wants to install php7.0-fpm.
It depends on: upstart-job.

The following packages have unmet dependencies:
php7.0-fpm : Depends: upstart-job


When I run apt install php7.0 it does install php7 but it also crashed on the following packages: php7.0-dbg and php7.0-intl.


Anyone who knows properly install php7?


Thanks.


Reply Favorite View the author
All Replies
com_bvv
deepin
2016-08-19 08:06
#1
Edited by com_bvv at 2016-8-19 00:07

Deepin based on Debian. Debian does not support the PPA repository. Install PHP of the official Debian repositories
Reply View the author
tim0101
deepin
2016-08-22 22:52
#2
Thanks, managed to get it working.

Edit: Can't I close this topic?
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG