Configure Cloudways Magento Stack to point to corret tmp folder
After installation, magento tmp folder is not configured, so it's use /tmp by default. It's cause problems with magento store cloned in the same server.
You need to configure the file lib/Zend/Cache/Backend/File.php, in the line who says
protected $options = array(
'cachedir' => null
to
protected $options = array(
'cachedir' => '../tmp'
2
votes
Kim Tiago Baptista
shared this idea
-
Greg commented
This is also the case for Wordpress Apps. If get_temp_dir() is used I would expect it to use the Aaplication tmp folder, instead of the server tmp folder(/tmp/)
Here is Reference for the function:
https://developer.wordpress.org/reference/functions/get_temp_dir/