F
F
fapchat2019-10-23 22:15:10
LAMP
fapchat, 2019-10-23 22:15:10

Is it possible to install lamps via apt (except PHP) and PHP via PPA?

I installed it according to the guide, in which everything is identical, except for installing php. since it is impossible to install php7.3.10 from the ubuntu repository without PPA. In short: here are the commands that replaced the command

sudo apt install php7.2 libapache2-mod-php7.2 php-mysql
:
teams
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update

sudo apt-get install php7.3

sudo apt install php7.3-cli php7.3-fpm php7.3-json php7.3-pdo php7.3-mysql php7.3-zip php7.3-gd php7.3-mbstring php7.3-curl php7. 3-xml php7.3-bcmath php7.3-json

$ apt policy php7.3-cli

All the commands that I entered
sudo apt install apache2

sudo apt install mariadb-server

sudo apt install mysql server

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update

sudo apt-get install php7.3

sudo apt install php7.3-cli php7.3-fpm php7.3-json php7.3-pdo php7.3-mysql php7.3-zip php7.3-gd php7.3-mbstring php7.3-curl php7. 3-xml php7.3-bcmath php7.3-json

apt policy php7.3-cli

sudo apt install php-curl php-json php-cgi php-gd php-zip php-mbstring php-xml php-xmlrpc

sudo ufw allow in 80/tcp

mysql gave some error, I reinstalled everything, only removing (and not installing mysql-server)
spoiler
sudo apt remove mysql-server

apt purge php* apache2* mysql* -y

apt autoremove -y

полностью ли эти команды удаляют ламп ?

mysql is working, but apache won't start 5db0a5459a85c989398356.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Gavrilov, 2019-10-24
@thexaver

For mariadb, it is also desirable to add ppa

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question