System Requirements
Before installing Health Manager, ensure your server meets the following requirements:- PHP 8.2 or higher (PHP 8.4+ recommended)
- Required PHP Extensions:
- Ctype
- cURL
- DOM
- Fileinfo
- Filter
- Hash
- Mbstring
- OpenSSL
- PCRE
- PDO
- Session
- Tokenizer
- XML
- Database: MySQL, MariaDB, PostgreSQL, SQLite, or any Laravel-compatible database
- Required Tools:
- Git
- Composer
- NPM (Node.js)
Installation Methods
Choose the installation method that best suits your hosting environment:VPS/SSH Installation
For servers with console access (VPS, dedicated servers)
Shared Hosting
For hosting without SSH access (FTP/cPanel)
VPS Installation
This method is for servers where you have SSH/console access. All commands are executed directly on the server.
Install Dependencies
Install PHP dependencies and build frontend assets:
The
--no-dev flag ensures that development dependencies are not installed, optimizing for production.Shared Hosting Installation
This method is for shared hosting environments without SSH access. You’ll prepare the files locally and upload them via FTP or file manager.
Upload Files
Upload all files and folders to your hosting provider, including:
/vendordirectory (Composer dependencies)/public/builddirectory (compiled assets)- All other project files and folders
Use FTP, SFTP, or your hosting control panel’s file manager. Ensure hidden files like
.env are uploaded.Post-Installation
After completing either installation method:Edit Configuration
Edit the
.env file with your environment-specific settings. See the Configuration Guide for detailed information.First Access
Navigate to your domain in a web browser. The system will:
- Automatically detect an empty database
- Run migrations to create all necessary tables
- Redirect you to the registration page
First User Takeover: The first user to register will automatically become the administrator of the application.
Verification
To verify your installation is working correctly:- Access your domain and ensure you’re redirected to the registration page
- Register a new account (this becomes the admin account)
- Verify you can access the dashboard
- Check that the calendar interface loads properly
Troubleshooting
500 Internal Server Error
500 Internal Server Error
- Check that your web server points to the
/publicdirectory - Verify file permissions on
storageandbootstrap/cachedirectories - Check web server error logs for specific PHP errors
- Ensure
APP_KEYis set in.env(runphp artisan key:generate)
Blank Page or Assets Not Loading
Blank Page or Assets Not Loading
- Verify that
npm run buildcompleted successfully - Check that
/public/builddirectory exists and contains files - Clear browser cache
- Check
APP_URLin.envmatches your domain
Database Connection Failed
Database Connection Failed
- Verify database credentials in
.envare correct - Ensure the database server is accessible from your application server
- Check that the database exists and the user has proper permissions
File Upload Issues
File Upload Issues
- Check permissions on the
storagedirectory - Verify
php.inisettings:upload_max_filesizeandpost_max_size - Ensure
storage/appdirectory is writable
Next Steps
Configuration
Configure database, mail, and application settings
User Management
Learn how to manage users and permissions
