• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Multiple Web Servers

siddharth

💖 Chevereto Fan
Hi All,

Those have done multiple web servers setup, can you please answer the below.

1) What are the folders that needs to be shared among all web servers
2) You are storing session via Redis or files, if so what is the variable used for Redis in settings.php
 
With V3.20 you don't need to mount drives to scale the application.
  • Use external storage for user uploads (n servers)
  • Use external asset storage for avatar/logo/backgrounds
  • Use CDN for website assets js/css
  • Use redis for sessions
By following that there's no filesystem mounting required, at all.

2) You are storing session via Redis
tcp://etc for save path, redis for save handler.
 
Last edited:
I tried editing the settings.php files with these variable

For checking Redis

'session.save_handler' => 'redis',
'session.save_path' => 'tcp://IP:6379',

For checking custom files folder

'session.save_handler' => 'files',
'session.save_path' => '/xxxx',

When I add these variables to settings.php , site is giving out HTTP error 500.

Can someone advise where those variables need to be added?

Error in the Log: "PHP message: PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']'
 
Last edited:
Update: Able to make the Session worked via both Files and Redis method. You have to edit the main php.ini file, but looking for some document to get it worked via settings.php or at the application level. It will be better if it is added in the Chevereto admin area to enter the Redis Server IP, Redis Database number to be used, and Port.
 
Last edited:
It will be better if it is added in the Chevereto admin area to enter the Redis Server IP, Redis Database number to be used, and Port.
Chevereto uses enviroment variables, which is way more optimal. Something like the session handler can't be configured at dashboard level, because it is user layer and it relies in the session system.
 
Back
Top