OwnPay ships with a built-in web installer. Once you upload the application files, create a database, and configure your web server’s document root, the installer wizard handles the rest — including writing your configuration, running database migrations, and creating your master administrator account. No command-line PHP knowledge is required for the core setup.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/own-pay/OwnPay-Documentation/llms.txt
Use this file to discover all available pages before exploring further.
Step-by-Step Installation
Download OwnPay from GitHub Releases
Go to the OwnPay GitHub Releases page and download the latest stable release.
- Find the most recent release at the top of the list
- Under Assets, click the
.zipfile (e.g.ownpay-v1.x.x.zip) to download it - Save the file locally — you will upload it to your server in the next step
Upload to Your Web Server and Set Document Root
Upload the downloaded ZIP to your server and extract it, then configure your web server to serve from the
public/ directory.Create a MySQL Database and User
OwnPay requires a dedicated MySQL database. Create the database and a user with full privileges on it.
- cPanel MySQL Databases
- MySQL CLI (VPS)
- In cPanel, open MySQL Databases
- Create a new database (e.g.
ownpay_db) - Scroll to MySQL Users → Add New User, create a user (e.g.
ownpay_user) with a strong password - Under Add User To Database, select both, then grant ALL PRIVILEGES
Write down the database name, username, password, and host (
localhost on most setups). You will enter these values during the web installer’s database configuration step.Configure Nginx (VPS Only)
On a Linux VPS, create an Nginx server block for OwnPay. This configuration sets the document root to Paste the following, replacing Enable the site, test the configuration, and reload Nginx:Then install an SSL certificate with Certbot:
public/ and routes all requests through the front controller.yourdomain.com with your actual domain:Run the Web Installer
Open your browser and navigate to:The installer is a four-step wizard:
On success, the installer displays a link to your login page at
| Step | What Happens |
|---|---|
| Requirements Check | The installer verifies PHP version, required extensions, and folder write permissions. All items must be green before you can continue. |
| Database Configuration | Enter your database host, port, name, username, and password. Click Test Connection to verify before proceeding. |
| Admin Account | Create the master administrator account — enter your name, email address, and a strong password. |
| Application Settings | Set the app name, confirm the app URL, and choose your timezone. Click Install to write the config and run migrations. |
https://yourdomain.com/login.Configure the Cron Job
The cron job is required. It runs background tasks including payment queue processing, gateway status checks, webhook retries, and notification emails. Without it, many features will silently fail.Replace
- cPanel Cron Jobs
- VPS (crontab)
- Go to Advanced → Cron Jobs in cPanel
- Set the frequency fields to
* * * * *(every minute) - In the Command field, enter:
YOUR_USERNAME with your actual cPanel username. If OwnPay is installed in a subdirectory, adjust the path accordingly.(Optional) Set Up Redis
Redis is not required but significantly improves performance for caching and background job processing. It is recommended for any production deployment expecting meaningful transaction volume.On Ubuntu/Debian:After installation, change the cache and queue driver to
redis in Settings → System inside the OwnPay admin panel.Troubleshooting
The installer won't open or shows a blank page
The installer won't open or shows a blank page
- Confirm PHP 8.3 is active for your domain
- On shared hosting, verify
mod_rewriteis enabled (contact your host if unsure) - Confirm the
public/directory is the document root, not the installation root - Check that all OwnPay files extracted without a double-nested folder structure
Database connection failed in the installer
Database connection failed in the installer
- Double-check the database name, username, and password — they must match exactly
- On shared hosting the host is almost always
localhost; on VPS use127.0.0.1 - Confirm the database user has ALL PRIVILEGES on the target database
500 Internal Server Error
500 Internal Server Error
On a VPS, check the Nginx and PHP-FPM error logs:On shared hosting, look for Error Logs in your control panel under the domain or hosting section.
storage/ folder permission errors
storage/ folder permission errors
Set the storage directory to be writable by the web server:On shared hosting, use File Manager to right-click
storage/ and set permissions to 755 or 775.The /install page says 'Already Installed'
The /install page says 'Already Installed'
OwnPay writes a lock file after a successful installation to prevent accidental reinstallation. If you see this message, OwnPay is already installed. Log in at
yourdomain.com/login with your administrator credentials.Next Steps
First Steps After Installation
Create your first brand, configure a gateway, and generate your first API key or payment link.
Brands and Stores
Understand how the multi-brand architecture works before setting up your merchant entities.