Installing PHP Zip Extension

This is how I installed it on my machine (ubuntu): php 7: sudo apt-get install php7.0-zip php 5: sudo apt-get install php5-zip Edit:Make sure to restart your server afterwards. sudo /etc/init.d/apache2 restart or sudo service nginx restart PS: If you are using centOS, please check above cweiske‘s answer But if you are using a Debian … Read more

Docker image build with PHP zip extension shows “bundled libzip is deprecated” warning

It looks like PHP no longer bundles libzip. You need to install it. You install zlib1g-dev, but instead install libzip-dev. This installs zlib1g-dev as a dependency and allows the configure script to detect that libzip is installed. For PHP < 7.3, you then need to docker-php-ext-configure zip –with-libzip before performing the installation with docker-php-ext-install zip … Read more

How to install all required PHP extensions for Laravel?

The Laravel server requirements specify the PHP extensions, including BCMath, Ctype, cURL, DOM, Fileinfo, JSON, Mbstring, OpenSSL, PCRE, PDO, Tokenizer, and XML, are required. These extensions are usually included and enabled during a PHP installation. You can use the following command in Ubuntu to check the necessary extensions. sudo apt install openssl php-bcmath php-curl php-json … Read more

How to check which PHP extensions have been enabled/disabled in Ubuntu Linux 12.04 LTS?

Checking for installed php modules and packages In addition to running php -m to get the list of installed php modules, you will probably find it helpful to get the list of the currently installed php packages in Ubuntu: sudo dpkg –get-selections | grep -v deinstall | grep php This is helpful since Ubuntu makes … Read more