These are just some basic optimizing. For additional optimization information, refer to the Laravel docs
Installing Redis is one way to enable optimizations. After installing, add to the
PHP-APC needs to be installed server-side (as a PHP extension) for it to be made available. No additional configuration is required on the database driver level.
Any additional drivers supported by Laravel are automatically supported by phpVMS.
When going live, this should be set to
production. By default, it's
dev. Change this:
This adjusts the logging level, making it more verbose. The default value is
true, and should be set to
false when you're live/in-production.
Sessions store the logged in users and other information. By default, they're stored on disk.
The Redis store is recommended if you have access to it
Sessions can be saved in PHP.
Sessions can also be saved in PHP.
By default, caching is disabled.
You can cache to flat files, instead of hitting the database constantly. These will be stored in the
Instead of using PHP APC, you can also use Redis for caching
This doesn't require any configuration on the server side
You can see the
config/cache.php file for the other available drivers (memcached, redis, etc)
phpVMS uses asyncronous queues for several tasks, including sending emails and exporting to vaCentral. The default mode is
sync, which means the tasks are done in-line. This could be useful if you're running a high-traffic VA and on your own VPS.
If you're running into performance issues, try changing the
database (probably the easiest option), or another queue driver option (look in the
config/queue.php for available options)
If you have Redis installed, you can use that: