Documentation

- Server Requirements 01
- Database Setup 02
- Folder Permissions 03
- Run the Installer 04
- Admin Login 05
- Cron Jobs 06
- Troubleshooting 07
- Need Help 08

Need help?

Contact support if you get stuck during installation.

support@unlockthemes.com
unlockthemess.com@gmail.com
Setup Documentation · v1.0

# CryptoMinor – Professional Cloud Mining Script

Official installation & configuration guide — server requirements, environment setup, admin credentials, cron scheduling, and quick fixes for the most common issues.

Section 01

## Server Requirements

Make sure your hosting environment meets the following before uploading the application.

### PHP 8.0+

Version 8.0 or higher (check composer.json).

### Composer

Required to install PHP dependencies.

### MySQL / MariaDB

MySQL 5.7+ or MariaDB 10.3+ running.

### Web Server

Apache with mod_rewrite, or Nginx.

### PHP Extensions

OpenSSL, PDO, Mbstring, XML, cURL, GD, BCMath.

### SSL Certificate

Recommended for production deployments.

### Memory Limit

PHP memory_limit ≥ 256M.

### Max Upload Size

upload_max_filesize & post_max_size ≥ 20M.

### Max Execution

max_execution_time ≥ 120 seconds.

Section 02

## Connect the Database

No manual .env editing — the web installer configures everything automatically.

Web installer

    https://yourdomain.com/install/

Step 1

Create an empty MySQL / MariaDB database and a database user from your hosting panel (cPanel, phpMyAdmin, Plesk).

Step 2

Open the installer URL above in your browser — it checks server requirements automatically.

Step 3

Enter the database name, username, password, host and port in the installer form.

Step 4

The installer writes the .env file, imports the database tables and creates the admin account for you.

Fully automatic: You never need to edit `.env` or import any SQL file by hand. The installer handles the connection, migrations and seed data — just make sure the database exists and the user has full privileges on it.

Section 03

## Folder Permissions

The download package contains only two folders — the documentation and the main script files.

documentation/

755

Installation docs (this file). Read-only — not uploaded to the server.

main-file/

755

The actual script: index.php, .htaccess, assets/ and all core files — upload the contents of this folder to your web root.

Folder | Permission | Purpose
--- | --- | ---
documentation/ | 755 | Installation docs (this file). Read-only — not uploaded to the server.
main-file/ | 755 | The actual script: index.php, .htaccess, assets/ and all core files — upload the contents of this folder to your web root.

Ownership: On most shared hosts, ownership should be the web-server user (e.g. `www-data` or your cPanel user).

Section 04

## Run the Installer

The web installer sets up the script automatically — no terminal needed.

Installer URL

    https://yourdomain.com/install/

Step 1

Open the installer URL in your browser — it runs an automatic server requirements check.

Step 2

Enter your database details; the installer writes the .env file and imports all tables.

Step 3

Create the admin account when prompted, then finish the setup wizard.

Step 4

Delete or lock the /install/ directory so nobody can re-run the installer.

Note: Replace `yourdomain.com` with your own domain where the script is uploaded.

Section 05

## Admin Login Details

Default credentials for the admin panel.

Admin URL

https://yourdomain.com

Username

admin

Password

admin

Security: Change the default admin username and password immediately after your first login.

Section 06

## Cron Job Setup

Run the platform cron every 15 minutes so mining, profits and payouts process automatically.

Crontab — every 15 minutes

    */15 * * * * curl -s https://yourdomain.com/api/run-cron >/dev/null 2>&1

*/15 * * * *

Runs the job every 15 minutes, 24/7.

curl -s

Silent mode — sends a GET request to the cron endpoint.

URL

Replace yourdomain.com with your own installation domain.

>/dev/null 2>&1

Discards output so cron doesn't send you email notifications.

cPanel / Shared hosting

1. Log in to cPanel and open Advanced → Cron Jobs.
2. Under Common Settings, choose Every 15 minutes (or set minute to `*/15`).
3. Paste in the Command field:`curl -s https://yourdomain.com/api/run-cron >/dev/null 2>&1`
4. Click Add New Cron Job and leave the email field blank to avoid notifications.

VPS / Dedicated server

1. Connect over SSH as root or your site user.
2. Open the crontab:`crontab -e`
3. Add this line at the end:`*/15 * * * * curl -s https://yourdomain.com/api/run-cron >/dev/null 2>&1`
4. Save and exit, then verify with `crontab -l`.

Important: The cron job is required — without it mining sessions, daily profits and withdrawals will not be processed. You can test the endpoint once by opening `/api/run-cron` in your browser; it should return a success response.

Section 07

## Troubleshooting

Common issues and how to resolve them quickly.

500 Internal Server Error after upload

Usually caused by wrong folder permissions on storage/ and bootstrap/cache/, or a missing APP_KEY. Set permissions to 775 and make sure APP_KEY is generated in .env.

Blank white page

Enable APP_DEBUG=true temporarily to view the real error. Check storage/logs/laravel.log for details.

Database connection error

Double-check DB_HOST, DB_DATABASE, DB_USERNAME, DB_PASSWORD. Ensure the database exists and the user has full privileges.

Images or uploads not showing

Make sure the storage symlink exists (public/storage) and that FILESYSTEM_DISK is set correctly.

Cannot log in as admin

Confirm the URL is /admin/login on your domain. Clear browser cookies and try again.

Section 08

## Need Help

Still stuck? Open a support ticket and our team will get back to you as soon as possible.

Your name
Email
Subject
Message

Or email us at support@unlockthemes.com · unlockthemess.com@gmail.com