I have Magento CE 22.214.171.124, my
var/session files has become so big I am unable to open them. My server crashes each time I try to open.
How do I set Cron to delete old files that are not necessary for both folders. I have got got
php.ini in my root folder, below is the information.
; This file is for CGI/FastCGI installations. ; Try copying it to php5.ini, if it doesn't work ; adjust memory limit memory_limit = 64M max_execution_time = 18000 ; disable magic quotes for php request vars magic_quotes_gpc = off ; disable automatic session start ; before autoload was initialized flag session.auto_start = off ; enable resulting html compression zlib.output_compression = on ; disable user agent verification to not break multiple image upload suhosin.session.cryptua = off ; turn off compatibility with PHP4 when dealing with objects zend.ze1_compatibility_mode = off ; PHP for some reason ignores this setting in system php.ini ; and disables mcrypt if this line is missing in local php.ini extension=mcrypt.so ; Disable PHP errors, notices and warnings output in production mode to prevent exposing sensitive information. display_errors = Off php_value memory_limit 128M
Any advice will be much appreciated.