cPanel Integration
سی پینل انٹیگریشن
cPanel Integration
RentOyee is designed for deployment on cPanel shared hosting environments. This guide covers the complete setup for a production-ready installation.
Server Requirements
- PHP — 8.1 minimum, 8.3 recommended
- Database — MySQL 8.0+ or MariaDB 10.5+
- Extensions — BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, PDO_MySQL, Tokenizer, XML, GD, Zip, Intl
- Disk Space — Minimum 2GB recommended
- SSL Certificate — Required (Let's Encrypt is free via cPanel)
Deployment Steps
Upload RentOyee application files to your server via FTP or the built-in deployment script. The Laravel public/ folder contents map to your domain's public_html/.
In cPanel → MySQL Databases, create a new database and user. Grant the user all privileges on the database.
Edit the .env file with your database credentials, APP_URL (with https://), mail settings, and API keys. This file must never be publicly accessible.
In cPanel Terminal (or SSH): php artisan migrate --force to create all database tables.
Run: chmod -R 775 storage bootstrap/cache — these directories must be writable by the web server.
Run: php artisan storage:link — this makes uploaded public files accessible from the browser.
Configure the Laravel scheduler cron job as described in the Cron Jobs section.
In cPanel → SSL/TLS → AutoSSL, install a free Let's Encrypt certificate. Then update APP_URL in .env to use https://.
A correctly configured .htaccess file is included in the public/ directory. If pages show 404 errors, ensure mod_rewrite is enabled in your hosting and AllowOverride All is set.
سی پینل انٹیگریشن
RentOyee cPanel شیئرڈ ہوسٹنگ پر ڈیپلوئی کرنے کے لیے ڈیزائن کیا گیا ہے۔
سرور کی ضروریات
- PHP 8.1+ (8.3 سفارش شدہ)
- MySQL 8.0+ یا MariaDB 10.5+
- SSL سرٹیفکیٹ (Let's Encrypt مفت)
- ضروری PHP Extensions: BCMath، PDO، GD، Mbstring وغیرہ
تعیناتی کے مراحل
cPanel → MySQL Databases
ڈیٹا بیس کریڈینشلز، APP_URL، میل ترتیبات
php artisan migrate --force
chmod -R 775 storage bootstrap/cache
cPanel → SSL/TLS → AutoSSL