Enabled cache in panel

This commit is contained in:
Pinga 2024-01-23 16:24:02 +02:00
parent 25bc76d54e
commit 478fb55073
3 changed files with 11 additions and 1 deletions

View file

@ -336,6 +336,14 @@ To get the starting list of TLDs (Top-Level Domains) from ICANN and cache it for
php /var/www/cp/bin/file_cache.php
```
### Setup Cache Directory:
To setup the correct owner of the panel cache directory, please run the following command:
```bash
chown www-data:www-data /var/www/cp/cache
```
### Setting Up Redis Session Storage:
To utilize Redis for session storage, you need to install the necessary packages and configure your environment accordingly. Follow these steps to set up Redis session storage:

View file

@ -396,6 +396,8 @@ EOF
echo "Downloading initial data."
php /var/www/cp/bin/file_cache.php
echo "Setting up cache."
chown www-data:www-data /var/www/cp/cache
echo -e "Installation complete!\n"
echo -e "Next steps:\n"