Tuesday, February 23, 2021

Install PHP zip Extension on Ubuntu 20.04

 Mehtod 1:

sudo apt-get install php7.4-zip
sudo /etc/init.d/apache2 restart or sudo service nginx restart


 Mehtod 2:

sudo apt-get update
sudo apt-get install libz-dev -y
pecl install zlib zip
sudo /etc/init.d/apache2 restart

No comments:

Post a Comment

Restrict Access to PHPMyAdmin with DirectAdmin

cd /usr/local/directadmin/ ./directadmin set one_click_pma_login 1 restart cd custombuild ./build update ./build set phpmyadmin_public no ./...