How to Enable Redis, Imagick, and Zip PHP Extensions in cPanel

68 views
Short answer: Navigate to cPanel Select PHP Version, switch to the Extensions tab, and check the boxes for redis, imagick, and zip to activate image processing and in-memory caching.

Turn on critical PHP extensions required by WordPress Site Health, WooCommerce, LiteSpeed Object Cache, and PDF/image processing tools.

Before you start: Back up your site files and database and download the backup to your own computer. How to take a full backup

Quick reference

Key Extensions redis (Object Cache) | imagick (Image Quality) | zip (Plugin Extractor) | intl (Translations)
Tool Location cPanel > Software > Select PHP Version > Extensions Tab
Default Status Toggle on/off with instant persistence

Steps

  1. Open PHP Selector: Under Software in cPanel, select Select PHP Version.
  2. Locate and Check Essential Extensions:
    • redis: Required for LiteSpeed Cache Object Caching and high-speed in-memory database queries.
    • imagick: Required by WordPress for high-quality thumbnail generation, image cropping, and WebP generation.
    • zip: Required for installing plugins, updating themes, and exporting backup archives.
    • intl: Required for multi-language translation frameworks, WooCommerce tax calculations, and date localization.
    • sodium: Required for modern cryptography and cryptographic tokens.
  3. Verify in WordPress: Open Tools > Site Health > Status. Any warnings regarding missing optional PHP modules will be resolved.

Troubleshooting and tips

  • Native vs Alt-PHP: If the Extensions tab is greyed out, your account is set to "Native PHP". Switch to an Alt-PHP version (e.g. PHP 8.4) to unlock full extension customization.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket
Was this article helpful?
No, I need more help
Didn't find your answer?
Under 3 minutes
Submit Support Ticket