parent
47a8f4f57e
commit
7df03db087
|
@ -32,13 +32,13 @@ sudo add-apt-repository ppa:ondrej/php
|
||||||
- for apache
|
- for apache
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install apache2 mariadb-server git php8.2-intl php8.2-mbstring php8.2-dom php8.2-xml unzip php8.2-ldap php8.2-sqlite3 ph8.2p-curl sqlite libapache2-mod-php php8.2-mysql
|
sudo apt install apache2 mariadb-server git php8.2 php8.2-intl php8.2-mbstring php8.2-dom php8.2-xml unzip php8.2-ldap php8.2-sqlite3 ph8.2-curl sqlite libapache2-mod-php php8.2-mysql
|
||||||
```
|
```
|
||||||
|
|
||||||
- for nginx
|
- for nginx
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install nginx mariadb-server git php8.2-intl php8.2-mbstring php8.2-dom php8.2-xml unzip php8.2-ldap php8.2-sqlite3 ph8.2p-curl sqlite php8.2-mysql
|
sudo apt install nginx mariadb-server git php8.2 php8.2-intl php8.2-mbstring php8.2-dom php8.2-xml unzip php8.2-ldap php8.2-sqlite3 ph8.2-curl sqlite php8.2-mysql
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,7 +48,6 @@ Install composer:
|
||||||
~~~bash
|
~~~bash
|
||||||
cd
|
cd
|
||||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||||
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
|
|
||||||
php composer-setup.php
|
php composer-setup.php
|
||||||
php -r "unlink('composer-setup.php');"
|
php -r "unlink('composer-setup.php');"
|
||||||
sudo mv composer.phar /usr/local/bin/composer
|
sudo mv composer.phar /usr/local/bin/composer
|
||||||
|
|
Loading…
Reference in New Issue