AbanteCart Community

eCommerce construction => Installation and Configuration => Topic started by: epimadman on January 30, 2017, 04:06:26 PM

Title: Tmp directory on server filling up
Post by: epimadman on January 30, 2017, 04:06:26 PM
Our /tmp directory is filling up on the server as we have sessions from several abantecart installations dumping into it.  How do I change that?  Shouldn't it be dumping locally for that user instead of the server /tmp directory?
Title: Re: Tmp directory on server filling up
Post by: abolabo on January 31, 2017, 03:11:37 AM
i think you can manage with it via php.ini directives such as upload_tmp_dir (http://ua2.php.net/manual/en/ini.core.php#ini.upload-tmp-dir) for uploaded files and
session.save_path (http://ua2.php.net/manual/en/session.configuration.php#ini.session.save-path)
Just create few php.ini for each installations of AbanteCart with directives.
Note: You can check current values in admin menu->system->settings->system ->button [phpinfo()] at the heading.

Also read this http://stackoverflow.com/questions/10580043/servers-tmp-directory-filling-up
Title: Re: Tmp directory on server filling up
Post by: epimadman on April 12, 2017, 10:44:43 PM
PERFECT~ Thanks - that did the trick, you just have to specify for each installation and map it locally with a rotate to conserve space.
Title: Re: Tmp directory on server filling up
Post by: Wecian on December 11, 2018, 06:18:14 AM
Thanks for the great info :)