跳到主要内容

共享主机安装

This is the complete, baby-step guide to installing FeedbackPulse SaaS on 共享主机 environments. We cover cPanel, Plesk, DirectAdmin, CyberPanel, HestiaCP, and generic 共享主机 panels.

FeedbackPulse SaaS is fully compatible with 共享主机 — even when exec() is disabled and symlinks aren't supported.

You do NOT need to run any php artisan commands, SSH commands, or terminal commands. Everything is handled through the Web 安装程序, the 管理面板, and your hosting panel's file manager. If you see php artisan commands in other guides, those are for VPS/dedicated servers only — skip them.


Will My Hosting Work?

FeedbackPulse SaaS works on any 共享主机 that meets these minimum requirements:

RequirementMinimumHow to Check
PHP8.2+cPanel → Select PHP Version
MySQL/MariaDB8.0+ / 10.6+cPanel → MySQL 数据库s
mod_rewriteEnabledUsually enabled by default
Cron JobsSupportedcPanel → Cron Jobs
File Manager or FTPAvailableStandard on all hosts

What If exec() Is Disabled?

No problem! FeedbackPulse automatically detects this and uses pure PHP alternatives:

  • 数据库 backups use PHP-based dump instead of mysqldump
  • All other features work without exec()

No problem! FeedbackPulse includes a built-in storage fallback that serves uploaded files (logos, images) through PHP when the storage:link symlink can't be created.


Before You Start

Have these ready:

  • Your hosting login credentials (cPanel/Plesk/etc.)
  • FTP or File Manager access
  • Your Envato purchase code
  • SMTP email credentials (optional but recommended)

cPanel 安装

Step 1: Create the 数据库

  1. 登录 to cPanel
  2. 前往 MySQL 数据库s (under 数据库s section)
  3. Create a new database:
    • 数据库 name: feedbackpulse (your cPanel may prefix it, e.g., cpuser_feedbackpulse)
    • Click Create 数据库
  4. Create a new user:
    • Username: fp_user (will become cpuser_fp_user)
    • Password: Click Password Generator for a strong password — save this!
    • Click Create User
  5. Add user to database:
    • Select the user and database you just created
    • Click Add
    • On the privileges page, check ALL PRIVILEGES
    • Click Make Changes

Write down: Your full database name, username, and password. You'll need them during installation.


Step 2: Upload Files

Option A: File Manager (Easiest)

  1. 前往 cPanel → File Manager
  2. 导航到 public_html (or a subdomain folder)
  3. Click Upload in the toolbar
  4. Upload the feedbackpulse-saas.zip file
  5. Wait for the upload to complete
  6. Right-click the ZIP file → Extract
  7. The files are now extracted into public_html/feedbackpulse-saas/

Option B: FTP Upload

  1. Connect via FTP (FileZilla, WinSCP, etc.)
    • Host: Your domain or ftp.yourdomain.com
    • Username: Your cPanel username
    • Password: Your cPanel password
    • Port: 21
  2. 导航到 public_html/
  3. Upload the entire extracted feedbackpulse-saas folder

提示: Uploading the ZIP and extracting on the server is much faster than uploading thousands of individual files via FTP.


Step 3: Set the Document Root

This is the most important step. The web server must point to the public/ folder inside your FeedbackPulse directory.

  1. 前往 cPanel → Domains (or Subdomains)
  2. Click Create a New Domain (or Create Subdomain)
  3. 输入您的 domain or subdomain: feedback.yourdomain.com
  4. Set Document Root to: public_html/feedbackpulse-saas/public
  5. Click Submit

This is the cleanest approach. Your FeedbackPulse installation lives at feedback.yourdomain.com with the correct document root.

Method B: Addon Domain

  1. 前往 cPanel → Addon Domains (older cPanel) or Domains
  2. Add your domain
  3. Set document root to: public_html/feedbackpulse-saas/public

Method C: Main Domain (public_html)

If you want FeedbackPulse on your main domain (yourdomain.com):

Option 1: Change Document Root (if your host allows)

Some hosts let you change the document root of your main domain:

  1. 前往 cPanel → Domains
  2. Click Manage on your main domain
  3. Change Document Root to: public_html/feedbackpulse-saas/public

Option 2: Use .htaccess Redirect (if you can't change document root)

FeedbackPulse ships with a root .htaccess that automatically routes requests to the public/ folder. To use this:

  1. Move all files from feedbackpulse-saas/ directly into public_html/
    • So public_html/.htaccess, public_html/public/, public_html/app/, etc.
  2. The root .htaccess will forward all requests to public/

Option 3: Copy public/ Contents (Last Resort)

If nothing else works:

  1. Upload all FeedbackPulse files to a folder outside public_html (e.g., /home/cpuser/feedbackpulse/)
  2. Copy only the contents of the public/ folder into public_html/
  3. Edit public_html/index.php to update the paths:
// Change this line:
require __DIR__.'/../vendor/autoload.php';
// To:
require '/home/cpuser/feedbackpulse/vendor/autoload.php';

// Change this line:
$app = require_once __DIR__.'/../bootstrap/app.php';
// To:
$app = require_once '/home/cpuser/feedbackpulse/bootstrap/app.php';

Replace /home/cpuser/feedbackpulse/ with your actual path. Find it via cPanel → Terminal (run pwd) or File Manager (look at the breadcrumb path).


Step 4: Set PHP Version

  1. 前往 cPanel → Select PHP Version (or MultiPHP Manager)
  2. Select your domain from the list
  3. Set PHP version to 8.2 or higher
  4. Click Apply

Enable Required Extensions

While in the PHP settings:

  1. Click Extensions tab
  2. Make sure these are checked:
    • pdo_mysql
    • mbstring
    • openssl
    • tokenizer
    • json
    • curl
    • xml
    • ctype
    • fileinfo
    • bcmath
    • gd
    • zip
  3. Click Save

Adjust PHP 设置

前往 Options tab and set:

SettingValue
upload_max_filesize20M
post_max_size25M
memory_limit256M
max_execution_time300
max_input_vars3000

Step 5: Install Composer Dependencies

If You Have Terminal Access

  1. 前往 cPanel → Terminal (or SSH in)
  2. 导航到 your FeedbackPulse directory:
cd ~/public_html/feedbackpulse-saas
  1. Run:
php composer.phar install --no-dev --optimize-autoloader

No composer command? FeedbackPulse ships with composer.phar in the root directory. Use php composer.phar instead of composer.

If You Don't Have Terminal Access

If your host doesn't provide Terminal/SSH:

  1. Install Composer dependencies on your local computer first:
composer install --no-dev --optimize-autoloader
  1. Then upload the entire project including the vendor/ folder to your hosting

Pre-built packages: If you purchased the "with vendor" package from CodeCanyon, the vendor/ folder is already included and you can skip this step entirely.


Step 6: Set File Permissions

  1. 前往 cPanel → File Manager
  2. 导航到 your FeedbackPulse directory
  3. Right-click the storage folder → Change Permissions
  4. Set to 0775 and check "Recurse into subdirectories"
  5. Do the same for the bootstrap/cache folder

If you have Terminal access:

cd ~/public_html/feedbackpulse-saas
chmod -R 775 storage bootstrap/cache

Step 7: Run the Web Installer

  1. 打开浏览器
  2. 导航到: https://yourdomain.com/install (or https://feedback.yourdomain.com/install)
  3. Follow the 5-step wizard:
    • License: 输入您的 Envato purchase code
    • 要求: Everything should be green
    • 数据库: Enter the database name, username, and password from Step 1
    • Admin: Create your superadmin account
    • Email: Enter SMTP details (or skip for now)

数据库 host on cPanel: Usually localhost or 127.0.0.1. Some hosts use a different server — check your cPanel MySQL settings.


Step 8: Set Up Cron Job

FeedbackPulse needs a 定时任务 for scheduled tasks (邮件摘要s, trial expiry, reports, etc.). On 共享主机 you have two options:

If your panel only supports URL-based cron (no CLI commands), use FeedbackPulse's built-in web cron endpoint:

  1. During installation, a CRON_TOKEN is auto-generated and shown on the completion page
  2. 前往 cPanel → Cron Jobs
  3. Under "Add New Cron Job":
    • Common 设置: Select "Once Per Minute" (or "Every 5 Minutes")
    • Command:
    wget -q -O /dev/null "https://yourdomain.com/cron/run?token=YOUR_CRON_TOKEN"
  4. Click Add New Cron Job

Where to find your token: Check your .env file for the CRON_TOKEN= line. It was shown on the installer completion page.

安全: The token is a 64-character random string. Without it the endpoint returns 403.

Option B: CLI Command (if your panel supports it)

  1. 前往 cPanel → Cron Jobs
  2. Under "Add New Cron Job":
    • Common 设置: Select "Once Per Minute ( * * * )"
    • Command:
    /usr/local/bin/php /home/cpuser/public_html/feedbackpulse-saas/artisan schedule:run >> /dev/null 2>&1
  3. Click Add New Cron Job

重要: Replace /home/cpuser/public_html/feedbackpulse-saas/ with your actual path!

Finding the Correct Paths (for Option B)

PHP path: Try these (one will work):

  • /usr/local/bin/php
  • /usr/bin/php
  • /opt/cpanel/ea-php82/root/usr/bin/php (cPanel with EasyApache)

Project path:

  • Check in cPanel → Terminal: run cd ~/public_html/feedbackpulse-saas && pwd
  • Or look at the File Manager breadcrumb path

Test the cron: In Terminal, run:

/usr/local/bin/php /home/cpuser/public_html/feedbackpulse-saas/artisan schedule:run

If it works, the cron is correct.


Step 9: SSL Certificate

  1. 前往 cPanel → SSL/TLS (or Let's Encrypt SSL if available)
  2. If your host provides AutoSSL or Let's Encrypt, enable it for your domain
  3. Wait a few minutes for the certificate to be issued
  4. Verify by visiting https://yourdomain.com

Most modern shared hosts include free SSL via Let's Encrypt or AutoSSL.


Step 10: Verify 安装

  1. Visit https://yourdomain.com — see the 落地页
  2. Visit https://yourdomain.com/login — log in with your superadmin credentials
  3. Visit https://yourdomain.com/up — should show "OK"
  4. Upload a logo in 设置 → Branding — verify the image displays correctly

Plesk 安装

Step 1: Create the 数据库

  1. 登录 to Plesk
  2. 前往 数据库sAdd 数据库
  3. 数据库 name: feedbackpulse
  4. Create a database user with a strong password
  5. Click OK

Step 2: Upload Files

  1. 前往 Files (File Manager)
  2. 导航到 your domain's directory (e.g., httpdocs/)
  3. Upload and extract feedbackpulse-saas.zip

OR via FTP

Use the FTP credentials from Plesk → FTP Access


Step 3: Set Document Root

  1. 前往 Websites & Domains → your domain
  2. Click Hosting & DNSHosting 设置 (or Apache & nginx 设置)
  3. Change Document root to: httpdocs/feedbackpulse-saas/public
  4. Click OK

Plesk makes this easy — you can set the document root directly in hosting settings.


Step 4: Set PHP Version

  1. 前往 Websites & Domains → your domain
  2. Click PHP 设置
  3. Set PHP version to 8.2 or higher
  4. Under Additional configuration directives, add:
upload_max_filesize = 20M
post_max_size = 25M
memory_limit = 256M
max_execution_time = 300
  1. Click OK

Step 5: Install Dependencies

  1. 前往 Websites & Domains → your domain
  2. Click SSH (if available) or use Terminal
  3. Run:
cd httpdocs/feedbackpulse-saas
php composer.phar install --no-dev --optimize-autoloader
chmod -R 775 storage bootstrap/cache

Step 6: Run the Web Installer

导航到 https://yourdomain.com/install and follow the wizard.


Step 7: Set Up Cron Job

  1. 前往 Websites & DomainsScheduled Tasks (or Cron Jobs)
  2. Click Add Task
  3. Recommended (URL method): Set command to:
wget -q -O /dev/null "https://yourdomain.com/cron/run?token=YOUR_CRON_TOKEN"
  1. Alternative (CLI method): If you prefer CLI:
/usr/bin/php /var/www/vhosts/yourdomain.com/httpdocs/feedbackpulse-saas/artisan schedule:run
  1. Run: Every minute (* * * * *)
  2. Click OK

DirectAdmin 安装

Step 1: Create 数据库

  1. 登录 to DirectAdmin
  2. 前往 MySQL ManagementCreate new 数据库
  3. 数据库 name: feedbackpulse
  4. 数据库 user: fp_user
  5. Set a strong password
  6. Click Create

Step 2: Upload & Extract

  1. 前往 File Manager
  2. 导航到 domains/yourdomain.com/public_html/
  3. Upload the ZIP file
  4. Extract it

Step 3: Set Document Root

In DirectAdmin, the easiest approach is to use a subdomain:

  1. 前往 Subdomain Management
  2. Create a subdomain (e.g., feedback.yourdomain.com)
  3. Set document root to: public_html/feedbackpulse-saas/public

Or use the .htaccess method described in the cPanel section.


Step 4: PHP Version & Cron

  1. PHP Version: 前往 PHP Version Selector → set to 8.2+
  2. Cron: 前往 Cron Jobs → add (recommended URL method):
* * * * * wget -q -O /dev/null "https://yourdomain.com/cron/run?token=YOUR_CRON_TOKEN"

Or CLI method:

* * * * * /usr/local/bin/php /home/username/domains/yourdomain.com/public_html/feedbackpulse-saas/artisan schedule:run >> /dev/null 2>&1

Step 5: Run Installer

导航到 https://yourdomain.com/install (or subdomain URL).


CyberPanel 安装

  1. Create Website → add your domain
  2. File Manager → upload files to /home/yourdomain.com/public_html/
  3. Create 数据库 in MySQL section
  4. Set PHP to 8.2+
  5. Document Root: Use the OpenLiteSpeed rewrite context or .htaccess
  6. Cron Jobs: Add via CyberPanel's Cron section
  7. Run installer at https://yourdomain.com/install

HestiaCP 安装

  1. Web → Add domain
  2. Advanced Options → set document root to public_html/feedbackpulse-saas/public
  3. DB → Create MySQL database
  4. Upload files via File Manager or SFTP
  5. Cron → add the schedule:run command
  6. Run installer

Generic Shared Hosting (Any Panel)

If your hosting panel isn't listed above, follow this universal approach:

  1. Create a database — use your panel's MySQL/database section
  2. Upload files — via File Manager or FTP
  3. Point domain to public/ — change document root or use .htaccess redirect
  4. Set PHP 8.2+ — via PHP version selector
  5. Enable extensions — pdo_mysql, mbstring, curl, gd, zip, bcmath, fileinfo, xml
  6. Set permissionsstorage/ and bootstrap/cache/ must be writable (775)
  7. Run installer — visit /install in browser
  8. Add cron* * * * * running wget -q -O /dev/null "https://yourdomain.com/cron/run?token=YOUR_CRON_TOKEN"
  9. Enable SSL — via your panel's SSL section

Updating on Shared Hosting

When a new version is released, updating is simple — no terminal needed:

  1. Back up — go to Admin Panel → 备份 and create a database backup
  2. Upload new files — use File Manager or FTP to overwrite existing files (keep your .env file!)
  3. Visit https://yourdomain.com/update and log in as Super Admin
  4. Click "Run Update" — this automatically runs database migrations, clears caches, and updates the version

That's it! No php artisan commands, no SSH, no terminal. Just upload and click.


Shared Hosting 故障排除

"500 Internal Server Error" After Upload

Cause: Usually a permissions issue.

Fix:

  1. Set storage/ to 775 recursively
  2. Set bootstrap/cache/ to 775
  3. Check .htaccess files are present (some FTP clients skip dotfiles)

"404 Not Found" on All Pages

Cause: mod_rewrite is not enabled or .htaccess is not being read.

Fix:

  1. Verify .htaccess exists in both the root AND public/ directories
  2. Contact your host to enable mod_rewrite
  3. Make sure AllowOverride All is set (ask your host)

"Class Not Found" or "Vendor Autoload" Error

Cause: The vendor/ folder is missing.

Fix: You need to run composer install or upload the vendor/ directory. See Step 5 in the cPanel section.

Images/Logos Not Showing

Cause: The storage symlink wasn't created (common on 共享主机).

Fix: FeedbackPulse automatically serves files via PHP when the symlink is missing. If images still don't show:

  1. Check storage/app/public/ directory exists and is writable
  2. Try creating the symlink manually via Terminal:
ln -s /home/user/feedbackpulse-saas/storage/app/public /home/user/feedbackpulse-saas/public/storage
  1. If that fails, the PHP fallback will handle it automatically

"数据库 Connection Refused"

Cause: Wrong database host on 共享主机.

Fix:

  • Try localhost first
  • If that fails, try 127.0.0.1
  • Some hosts use a remote MySQL server (check your panel for the MySQL host)
  • On cPanel: check Remote MySQL section

Cron Job Not Running

Fix:

  1. Verify the PHP path is correct:
    • Try: /usr/local/bin/php or /usr/bin/php
    • On EasyApache (cPanel): /opt/cpanel/ea-php82/root/usr/bin/php
  2. Verify the project path is correct (use pwd in Terminal)
  3. Test manually in Terminal first
  4. Check cPanel's cron email for error messages

"Allowed Memory Size Exhausted"

Fix: Increase PHP memory limit:

  • cPanel → Select PHP Version → Options → memory_limit = 256M
  • Or add to .htaccess: php_value memory_limit 256M

Can't Access Installer

Fix:

  1. Make sure you're visiting /install (not /install/)
  2. Delete storage/installed.lock if you need to re-run the installer
  3. Verify the .htaccess rewrite is working

Shared Hosting Tips & Best Practices

Performance

  • Use file sessions (default) — works reliably on 共享主机 out of the box. You can switch to database sessions later via .env for extra reliability
  • Enable OPcache if available in your PHP settings
  • Use CDN (like Cloudflare free plan) for static assets

安全

  • Keep the main application files outside public_html if possible (use Method C from cPanel section)
  • Never expose the .env file — the .htaccess blocks it, but verify
  • Enable SSL (most hosts offer free Let's Encrypt)
  • Keep PHP updated to the latest 8.2.x patch

备份

  • FeedbackPulse includes a built-in backup feature that works without exec()
  • On 共享主机, it uses PHP-based backup (slightly slower but fully functional)
  • Also use your hosting panel's backup feature as an additional safety net

Email

  • Shared hosting SMTP usually has sending limits (100-500/day)
  • For production SaaS with many tenants, consider using an external SMTP provider (Mailgun, SendGrid)
  • Configure external SMTP in Admin → 设置 → Email

Storage Space

  • Monitor your hosting disk usage — feedback photos can add up
  • Configure 数据保留 policies to auto-delete old data
  • Use your panel's Disk Usage tool to track space

After 安装

Once installed on 共享主机, everything works the same as a VPS installation:

  1. 登录 at /login with your superadmin credentials
  2. 前往 Admin → Plans to review 订阅计划
  3. 前往 Admin → 设置 to configure payments, email, AI
  4. 前往 Admin → Landing Page to customize your homepage
  5. Test registration in an incognito window

See: