Docs Installation cPanel / Shared Hosting Setup

cPanel / Shared Hosting Setup

Special instructions for installing on cPanel or shared hosting environments.

9 views Updated 9 hours ago

cPanel / Shared Hosting Setup

Overview

Installing on shared hosting requires a few extra steps since you may not have SSH access or full control over server configuration.

Step 1: Upload Files

Upload the entire MangaReader Pro folder to your hosting account via File Manager or FTP. Place it above the public_html directory.

Step 2: Move Public Files

Move everything from the public/ folder into your public_html/ directory. Then edit public_html/index.php:

// Change this line:

require __DIR__.'/../vendor/autoload.php';

// To point to your app directory:

require __DIR__.'/../mangareader-pro/vendor/autoload.php';

Step 3: Create Database

Use cPanel's MySQL Database Wizard to:

  • Create a new database
  • Create a database user
  • Assign all privileges

Step 4: Configure .env

Update the .env file with your cPanel database credentials.

> [!NOTE] Some shared hosts may require the full database name with prefix, like cpaneluser_mangareader.

Step 5: Run Migrations

If you have SSH access, run php artisan migrate --seed. Otherwise, use the web-based installer at your-domain.com/install.

> [!TIP] Contact your hosting provider if you need to enable specific PHP extensions.

Was this article helpful?