How to Enable PHP Zip Archive in cPanel?

Any reasonable person would agree that you are wanting to engage PHP zip increase in cPanel? We can help you.

PHP locations using pack records needs pack increases for data taking care of. Around here at ARZHOST, we get sales to enable PHP zip developments as a piece of our Server Management Services.

Today, “How to Enable PHP Zip Archive in cPanel?”, we have to see how our Hosting Expert Planners engage PHP zip development in cPanel.

Why do we need the PHP zip extension?

Site owners reliably look for methods of further developing site archives. Packing is one strategy for diminishing record size. A pack document record configuration maintains lossless data pressure, thusly making it sensible for sending and taking care of data.

If purposes use a pack report plan, it needs a packed development to manage it. That is, pack extension allows the customers to examine and make into the pack records.

By and by, “How to Enable PHP Zip Archive in cPanel?”, what about we see how our Hosting Expert Planners enable PHP zip expansions in cPanel.

How to engage the PHP zip expansion in cPanel?

  1. At first, we sign into cPanel and snap on the PHP PEAR Packages available under the SOFTWARE section. The image appears as in the image.
  2. Then, we type zoom in the pursuit bar, and Archive Zip will be available. Here, we click on the present image.
  3. Following presenting Archive Zip, “How to Enable PHP Zip Archive in cPanel?”, we go to the past advance and snap the Select PHP Version image.
  4. As of now, the Archive Zip is observable here. Click the checkbox of the zip expansion. What’s more, hit the save button to add the Archive Zip to the current PHP variation. This would present the PHP Zip expansion.

How to enable PHP zip increase in WHM?

Zip extension is an incredibly fundamental essential for locales nowadays. So we engage it in all of the servers we make due. “How to Enable PHP Zip Archive in cPanel?”, What about we see how we engage it through WHM.

Right away, we login to WHM and investigate as follows:

  • Programming >> Easy Apache 4 >> Customize >> PHP extensions. Here we search for zip and engage phpx.x-php-zoom for all structures. Finally, we click on Review and Provision.

“How to Enable PHP Zip Archive in cPanel?”, This engages the zip development for all the PHP locales in the server.

Ordinary errors while enabling PHP Zip development

As of now, what about we see two or three typical mix-ups our customers explained to us while enabling the PHP zip development.

1. Missing library

Lately, one of our customers pushed toward us with the under error message:

  • PHP Zip Archive Library is missing or debilitated

Our Hosting Expert Planners checked the current PHP interpretation using the request:

  • php - v

He used CentOS 6 with Apache and PHP 7.0. “How to Enable PHP Zip Archive in cPanel?”, PHP 7 gives a php7.0-zip group. We presented it using the request:

  • yum present php7.0-zip

We used the under request to check out the libraries:

  • yum list presented | grep - I php

At long last, we ran the under request to restart Apache:

  • organization httpd restart

Finally, this nice error.

2. Foundation request error

The PHP zip expansions can be enabled through orders too. Hence, relatively few customers’ efforts to present it through orders themselves. However, messing up the request lead to errors.

Here is a model where the customer experienced a misstep due to the wrong request. “How to Enable PHP Zip Archive in cPanel?”, The customer got the mix-up Class Zip Extension not found. He was using CentOS 7 and PHP 7.0.27.

Our Hosting Expert Planners checked the request he used. The request was:

  • yum present php70-php-pecl-zip

The genuine group was PHP-pecl-zip.x86_64. So we presented it using the request:

  • yum present php70-php-pecl-zip.x86_64

Furthermore, thereafter, we enabled it by running the request:

  • resonation "extension=zip.so" >>, etc/php.d/zip.ini

“How to Enable PHP Zip Archive in cPanel?”, This legitimated the error and the PHP expansion was engaged.

Conclusion

To lay it out simply, “How to Enable PHP Zip Archive in cPanel?”, PHP locales using pack records require pack expansions for data dealing with. Today at ARZHOS, we saw how our Hosting Expert Planners enabled PHP zip extension in cPanel.



People Also Ask

Question # 1: How do I enable zip in WHM?

Answer: In WHM go to Software – > EasyApache4 – > Customize Profile (applies to your present introduced settings/bundles). Go to PHP Extensions, select All for Page size, then, at that point, empower the bundles containing ZIP for all the PHP forms accessible there.

Question # 2: How do I know if PHP zip is installed?

Answer:

  1. check with phpinfo(), pretty certain it’s as of now there. – Teson. Nov 14 ’11 at 20:40.
  2. if (!extension_loaded(‘zip’)) { reverberation ‘zipless’ } – Marc B. Nov 14 ’11 at 20:52.
  3. execute in order line: ‘PHP – m’ and check if your ‘zip’ expansion is in the rundown. – Eugene Kaurov. Oct 6 ’20 at 10:56.

Question # 3: What is WHM?

Answer: WHM (Web Host Manager) is a control dashboard that enables the client to deal with various cPanel-based locales. In this article, you will realize the reason why you should utilize WHM and how it tends to be valuable in sites the executives.



 

90%OFF

Flash Sale

Hurry Up! Offer ends in
02 days
22 hrs
16 mins
10 secs
Buy Now