Comments on: How To Install PHP on Debian 10 (Buster) https://tecadmin.net/install-php-on-debian-10-buster/ How to guide for System Administrator's and Developers Sat, 21 Aug 2021 13:08:26 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Mate3 https://tecadmin.net/install-php-on-debian-10-buster/#comment-63309 Sat, 21 Aug 2021 13:08:26 +0000 https://tecadmin.net/?p=17457#comment-63309 Thanks. One problem / request: why does “sudo apt install php7.3″ automatically install the additional packages ” apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php7.3″? I have already got nginx installed, therefore I only require PHP itself.

The solution I used for now was “sudo apt remove –purge apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php7.3” followed by “sudo apt auto-remove”. However I’m sure there is a better way.

]]>
By: Eric Sebasta https://tecadmin.net/install-php-on-debian-10-buster/#comment-58004 Sun, 24 Jan 2021 14:39:50 +0000 https://tecadmin.net/?p=17457#comment-58004 remove everything you find that you installed when you search php7.4 – install the same pacakges ending in php7.3 – restart server.

]]>
By: intux https://tecadmin.net/install-php-on-debian-10-buster/#comment-42380 Sun, 01 Sep 2019 19:35:35 +0000 https://tecadmin.net/?p=17457#comment-42380 How can I go back to PHP7.3 from Buster when I go this way?
Thanks for your answer!

]]>
By: Paul https://tecadmin.net/install-php-on-debian-10-buster/#comment-42319 Wed, 28 Aug 2019 10:02:18 +0000 https://tecadmin.net/?p=17457#comment-42319 Thanks!

]]>
By: Eric https://tecadmin.net/install-php-on-debian-10-buster/#comment-42279 Sun, 25 Aug 2019 23:57:57 +0000 https://tecadmin.net/?p=17457#comment-42279 I like this article, the only issue I have is that I dod not wish to remove my index.html – hence I was not able to access the mail login. Do you have any suggestions?

]]>
By: Rahul https://tecadmin.net/install-php-on-debian-10-buster/#comment-42241 Thu, 22 Aug 2019 06:56:38 +0000 https://tecadmin.net/?p=17457#comment-42241 Thanks Olav

]]>
By: Rahul https://tecadmin.net/install-php-on-debian-10-buster/#comment-42240 Thu, 22 Aug 2019 06:56:22 +0000 https://tecadmin.net/?p=17457#comment-42240 Thanks Zeno

]]>
By: Zeno https://tecadmin.net/install-php-on-debian-10-buster/#comment-42232 Wed, 21 Aug 2019 15:43:57 +0000 https://tecadmin.net/?p=17457#comment-42232 sudo echo “deb https://packages.sury.org/php/ buster main” | tee /etc/apt/sources.list.d/php.list

should be

echo “deb https://packages.sury.org/php/ buster main” | sudo tee /etc/apt/sources.list.d/php.list

]]>
By: Olav Gullaksen https://tecadmin.net/install-php-on-debian-10-buster/#comment-42208 Mon, 19 Aug 2019 16:29:44 +0000 https://tecadmin.net/?p=17457#comment-42208 Hi Rahul,

Thank you for your efforts here 🙂

Only missing part when used on Raspbian Buster on a RPi is:

In your setup PPA third command you need a sudo for the last command:
sudo echo “deb https://packages.sury.org/php/ buster main” | sudo tee /etc/apt/sources.list.d/php.list

else you will get an error:
sudo echo “deb https://packages.sury.org/php/ buster main” | tee /etc/apt/sources.list.d/php.list

Br, Olav

]]>