Getbix

Documentation & Setup Guide

Complete PHP Getbix Website

A modern, responsive software download platform built with PHP, SQLite/MySQL, and Tailwind CSS. Ready to deploy in minutes!

Easy Setup

Upload files and you're ready to go. No complex configuration required.

Flexible Database

Works with SQLite (default) or MySQL. Switch easily via .env configuration.

Mobile Ready

Fully responsive design with Tailwind CSS. Looks great on all devices.

Quick Start Guide

1 Upload Files

Simply upload all project files to your web hosting directory. No compilation or build process needed!

Via FTP/cPanel File Manager:
📁 public_html/ (or your domain folder)
├── index.php
├── .env
├── config/
├── controllers/
├── views/
├── assets/
└── ...

2 Configure Database

Edit the .env file to configure your database. SQLite works out of the box!

.env configuration:
# For SQLite (Default - No setup needed)
DB_TYPE=sqlite
DB_PATH=database/software_site.db
# For MySQL
DB_TYPE=mysql
DB_HOST=localhost
DB_NAME=your_database
DB_USERNAME=your_username
DB_PASSWORD=your_password

Default Admin Credentials

Username: admin | Password: admin123

Change these in the .env file or admin panel after first login.

Deployment Options

Shared Hosting

Recommended
Upload via cPanel File Manager or FTP
Works with most hosting providers
SQLite requires no database setup
PHP 8.0+ required

Popular hosts: Hostinger, Bluehost, SiteGround, Namecheap

VPS/Cloud Server

Full server control
Better performance
Custom domain & SSL
MySQL database recommended

Providers: DigitalOcean, Linode, AWS, Google Cloud

Key Features

Admin Panel

  • • Complete dashboard
  • • Software management
  • • Category organization
  • • Blog system
  • • Menu builder
  • • Settings control

User Experience

  • • Advanced search
  • • Category filtering
  • • Download tracking
  • • Responsive design
  • • SEO optimized
  • • Fast loading

Technical

  • • PHP 8.0+ compatible
  • • SQLite/MySQL support
  • • Tailwind CSS styling
  • • Clean MVC structure
  • • Environment config
  • • Security features

Database Setup

SQLite (Default)

✅ No setup required!

SQLite database is created automatically when you first visit the site.

.env configuration:
DB_TYPE=sqlite
DB_PATH=database/software_site.db

Advantages:

  • • Zero configuration
  • • Works on any hosting
  • • Perfect for small to medium sites
  • • Easy backup (single file)

M MySQL (Advanced)

For high-traffic sites

Better performance and scalability for larger applications.

.env configuration:
DB_TYPE=mysql
DB_HOST=localhost
DB_PORT=3306
DB_NAME=your_database_name
DB_USERNAME=your_username
DB_PASSWORD=your_password
DB_CHARSET=utf8mb4

Setup Steps:

  1. 1. Create MySQL database
  2. 2. Update .env with credentials
  3. 3. Tables created automatically

Troubleshooting

Common Issues & Solutions

❌ "Database connection failed"

Solution:

  • • Check .env file exists and has correct permissions
  • • Verify database credentials (for MySQL)
  • • Ensure database directory is writable (for SQLite)
  • • Check PHP version (8.0+ required)

❌ "500 Internal Server Error"

Solution:

  • • Check file permissions (755 for directories, 644 for files)
  • • Verify .htaccess file is uploaded
  • • Enable error reporting in PHP
  • • Check server error logs

❌ "Admin login not working"

Solution:

  • • Use default credentials: admin / admin123
  • • Check .env file for custom credentials
  • • Clear browser cache and cookies
  • • Try incognito/private browsing mode

Server Requirements

Minimum Requirements:
✅ PHP 8.0 or higher
✅ PDO extension
✅ SQLite3 extension (for SQLite)
✅ MySQL extension (for MySQL)
✅ mod_rewrite enabled
Recommended:
🚀 PHP 8.1+
🚀 512MB+ memory limit
🚀 SSL certificate
🚀 Gzip compression
🚀 OPcache enabled

Need Help?

This software download website is ready to use out of the box. If you encounter any issues during setup or deployment, here are some helpful resources:

Documentation

Complete setup guide above

Source Code

Well-documented PHP code

Community

Active developer community

🎉 Congratulations! You now have everything you need to deploy your own Getbix website. Happy coding!