I'm issuing the command:
- Code: Select all
apt-get install apache2 php7.1 mysql-server php7.1-mysql libapache2-mod-php7.1 php7.1-gd php7.1-curl php7.1-xmlrpc php7.1-intl php7.1-zip php7.1-mbstring
And it gives me the error:
- Code: Select all
E: Could'nt find any package by regex 'php7.1'
and some other similar errors. OK. I give up and go on with php 7.0. So I issue the command:
- Code: Select all
apt-get install apache2 mysql-server php7.0
Everything works fine. But later, I try again and issue
- Code: Select all
apt-get install apache2 php7.1 mysql-server php7.1-mysql libapache2-mod-php7.1 php7.1-gd php7.1-curl php7.1-xmlrpc php7.1-intl php7.1-zip php7.1-mbstring
And this time everything install without any single error. Without any repository being added.
¿Why is this behaviour?
Not to mention that now I have php 7.0 and 7.1...
Thanks and regards!