Documentation Index
Fetch the complete documentation index at: https://docs.cachethq.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Cachet requires a few things to run. You’ll need:- PHP 7.1 with
ext-gd,ext-simplexml,mcryptandext-xmlinstalled. - Composer
- APC or Redis for caching.
- A database such as MySQL, PostgreSQL or SQLite.
- Git (optional depending on installation)
Composer
You should install Composer globally. This is a dependency manager for PHP and is used to install Cachet’s dependencies. We recommend following Composer’s own installation guide. Once Composer is installed, you can install the dependencies.Installing Cachet
Configuring a database
By default, Cachet comes with a.env.example file. You’ll need to rename this file to just .env regardless of what environment you’re working on.
It’s now just a case of editing this new .env file and setting the values of your setup.
Setting the application key
Before going any further, we need to set theAPP_KEY config. This is used for all encryption used in Cachet.
.env file before running this command.
Using the install command
Cachet comes with an installation command that will do the following for you:- Run migrations
- Run seeders (of which there are none)
Installation Difficulties
500 - Internal Server Error
If you see a 500 error when visiting your status page, you may need to runchmod -R 777 storage for it to work or rm -rf bootstrap/cache/*
You can also try to give permissions to cache chmod -R 777 bootstrap/