We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e011b commit e173477Copy full SHA for e173477
docker-install/docker-install/install-php74-and-composer-on-ubuntu22.sh
@@ -0,0 +1,17 @@
1
+#!/bin/sh
2
+
3
+sudo apt update -y && sudo apt upgrade -y
4
+sudo apt install software-properties-common -y
5
6
+sudo add-apt-repository ppa:ondrej/php -y
7
8
+# PHP 7.4.33 (cli)
9
+sudo apt install php7.4 -y
10
+php -v # PHP 7.4.33 (cli) (built: Feb 14 2023 18:31:54) ( NTS )
11
12
+# Composer version 2.5.5
13
+curl -sS https://getcomposer.org/installer | php
14
+chmod +x composer.phar
15
16
+mv composer.phar /usr/local/bin/composer
17
+composer -V # Composer version 2.5.5 2023-03-21 11:50:05
0 commit comments