Remove php from ubuntu 20.04 virtualmin with extensions

show installed php on server

sudo apt list --installed | grep php

 

remove installed php

sudo apt-get purge 'php8.1*'


install intl extension ubuntu

sudo apt-get install php7.4-intl

install mysqli
sudo apt-get install php-mysql
 install mysqlnd
sudo apt-get install -y php7.4-mysqlnd

ubah writable/cache ke 0777

install php-xml
sudo apt-get install php7.4-xml

No comments:
Write Comments