reynico / raspberry-noaa

Fully automated ISS SSTV, NOAA and Meteor satellite image downloader using Raspberry PI
https://github.com/reynico/raspberry-noaa
GNU General Public License v3.0
183 stars 57 forks source link

[Error] php 7.2 depricated, now 7.4 #101

Closed Tom-Neverwinter closed 3 years ago

Tom-Neverwinter commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

php 7.2 repo is not found as it is depricated.

Screenshots and/or logs If applicable, add screenshots to help explain your problem. Logs are always welcome as well

Server information (please complete the following information):

Additional context Add any other context about the problem here.

wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add - echo "deb https://packages.sury.org/php/ stretch main" | sudo tee /etc/apt/sources.list.d/php7.list sudo apt-get update

sudo apt-get install php7.2-cli php7.2-fpm \ php7.2-opcache php7.2-curl php7.2-mbstring \ php7.2-pgsql php7.2-zip php7.2-xml php7.2-gd

solves php7.2 issue

fails to solve: libgfortran5 dependany

reynico commented 3 years ago

Hi Tom! Errrr, seems like stretch doesn't have the php stuff in its repository. I'm running my station and my qemu'ed testing machine on Buster,

php7.1-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
php7.2-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
php7.3-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)

I'll add a switch on the code to add the php7 repo if on stretch.