Magento Session Files

Magento (the popular open-source online shop system) likes to store its PHP session files in ~/public_html/var/session/

Most debian servers don’t have that in their cron job that deletes old session files.

So, you probably want to set it to store it’s session files in the default location (/var/lib/php5) or alter your cron job (/etc/cron.d/php5)

Fun!

2 thoughts on “Magento Session Files

  1. Nick Mailer

    Useful advice, but “its” rather than “it’s”. After all, you wouldn’t say “hi’s” there instead of “his”, would you? 😉

  2. Kirrus Post author

    You’re quite right, fixed now! That’s what comes of tapping out a post really really quickly in your lunchbreak, and not checking it. One of these days I’ll get Its/It’s ingrained in my head, it’s proving particularly annoyingly stubborn.

Leave a Reply

Your email address will not be published. Required fields are marked *

semipurposive-uneminent