How do install ePaper PHP extensions in CyberPanel?

:writing_hand: Answer:

Installing PHP extensions in CyberPanel is a simple and straightforward process. You can do it either directly from the CyberPanel Dashboard or manually via SSH (terminal access).

Below are the two methods explained in detail:


:cyclone: Method 1: Installing via CyberPanel Dashboard (Recommended)

CyberPanel offers a built-in interface to easily install any required PHP extension.

Steps:

  1. Go to: https://your-server-ip:8090
  2. Log in with your admin username and password
  3. From the left sidebar, navigate to:
    4.PHP → Install Extensions*
  4. Select your installed PHP version (e.g., PHP 8.0)
  5. Search for the extension you need (e.g., intl, pdo_mysql, mbstring, etc.)
  6. Click the Install button next to the extension

:white_check_mark: Once installed, the extension will be enabled and ready to use.


:technologist: Method 2: Installing via SSH (for Advanced Users)

If you prefer the command line or the extension is not available through the dashboard, you can install it using SSH.

:wrench: On Ubuntu/Debian:

bash

CopyEdit

apt install php-intl php-bcmath php-gd php-curl php-mbstring php-zip php-pdo php-mysql php-json php-openssl -y

:wrench: On CentOS/AlmaLinux:

bash

CopyEdit

yum install php-intl php-bcmath php-gd php-curl php-mbstring php-zip php-pdo php-mysqlnd php-json php-openssl -y

:warning: Replace php- with the appropriate prefix for your PHP version if needed (e.g., php8.0-intl).


:repeat_button: Restart Web Server

After installing extensions, restart your web server to apply changes:

bash

CopyEdit

systemctl restart lsws

Or go to LiteSpeed → Restart in the CyberPanel dashboard.

  • PHP 8.0 or Higher
  • Ghost Script and Imagic Package (required)
  • JSON (must be enabled)
  • exec (must be enabled)
  • pdo
  • pdo_mysql
  • mbstring
  • openssl
  • intl
  • curl
  • dom
  • fileinfo
  • zip
  • json
  • gd (for image handling)
  • bcmath (sometimes required)

Link: ePaper CMS Script - ePaper Pro CMS Install Hosting Server Required PHP Extensions