Hosting enable php ...
 
Notifications
Clear all

Hosting enable php zip

2 Posts
2 Users
0 Likes
268 Views
Posts: 74
Admin
Topic starter
(@admin)
Member
Joined: 4 years ago

How to Enable PHP ZIP

Topic Tags
1 Reply
Posts: 48
(@alaikha)
Eminent Member
Joined: 4 years ago

What is php ZIP?

Zip is a file format that supports lossless compression. Usually a ZIP file contains files or directories that have been compressed. PHP ZipArchive can be used to zip and unzip files. If the class is not already installed, you will need to install it.

How to Enable PHP ZIP

  1. There was an uncaught error when working with the class ZipArchive.
  2. Use PHP -m and grep -i zip.
  3. Install libzip-dev zip && docker-php-ext-install zip using apt-get.
  4. Enter apt-get install -y php-zip.
  5. Make sure Apache2 is running.
  6. Restart NGINX.

CyberKeeda: PHP How to install, configure and enable ZIP Extension from  source code within centos / rhel 6

 

Reply