How to Install ePaper Pro Script on Cloudways Managed Hosting

  • Friday, 19 September, 2025
  • 03:06 pm

Are you looking to deploy your ePaper Pro Script on a reliable hosting platform? Cloudways is a perfect choice for hosting PHP applications due to its managed cloud environment, flexibility, and robust server support. This guide will walk you through the step-by-step process to install and run ePaper Pro Script on Cloudways.


Requirements

Before you start, make sure your server meets the following requirements:

  • PHP Version: 8.0

  • Extensions: Ghostscript, Imagick, JSON (enabled)

  • Functions: exec() must be enabled

  • Database: MySQL/MariaDB

Note: Ghostscript and Imagick are essential for PDF uploading and image processing.


Step 1: Launch a PHP Server on Cloudways

  1. Log in to your Cloudways account.

  2. Click Launch Server and choose Custom PHP App.

  3. Select your preferred cloud provider (DigitalOcean, AWS, Vultr, Linode, or Google Cloud).

  4. Choose server size and location.

  5. Click Launch Now.


Step 2: Set PHP Version to 8.0

  1. Go to Server → Settings & Packages.

  2. Select PHP Version 8.0.

  3. Save changes.


Step 3: Enable Required Extensions

  1. Navigate to Settings & Packages → Packages.

  2. Install Imagick.

  3. Log in via SSH to install Ghostscript:

    sudo apt update sudo apt install ghostscript -y
  4. Test exec() function:

    echo shell_exec("gs --version"); ?>

    If the version number appears, Ghostscript is working properly.


Step 4: Create Database

  1. Go to Application → Access Details → MySQL Access in Cloudways.

  2. Create a new database, user, and password.

  3. You will need these details during the script installation.


Step 5: Upload ePaper Pro Script

  1. Use SFTP/SSH with FileZilla, WinSCP, or Cloudways File Manager.

  2. Upload all script files to the public_html/ directory.

  3. If your script is zipped, unzip using SSH:

    unzip epaperpro.zip -d public_html/

Step 6: Configure the Script

  1. Open the script configuration file (.env or config.php).

  2. Enter your database details:

    DB_HOST=127.0.0.1 DB_DATABASE=yourdbname DB_USERNAME=yourdbuser DB_PASSWORD=yourdbpassword

Step 7: Import the Database

  1. Go to Application → MySQL Manager in Cloudways.

  2. Import the script’s .sql database file.


Step 8: Set File Permissions

Run the following commands via SSH:

chmod -R 755 public_html/ chmod -R 777 public_html/storage chmod -R 777 public_html/uploads

Proper permissions ensure that file uploads and caching work smoothly.


Step 9: Install & Test the Script

  1. Open your domain or server IP in a web browser.

  2. The ePaper Pro installation page should appear.

  3. Complete the installation by connecting to the database.

  4. Test uploading a PDF to confirm that Ghostscript and Imagick are functioning correctly.


Conclusion

By following this guide, your ePaper Pro Script will be fully functional on a Cloudways Managed PHP server. Cloudways offers a secure and flexible environment, making it an ideal choice for running PHP-based applications without worrying about server maintenance.


Tip: Always keep your server updated and back up your database regularly to avoid data loss.

Back

We may use cookies or any other tracking technologies when you visit our website, including any other media form, mobile website, or mobile application related or connected to help customize the Site and improve your experience. learn more