Page 1 of 1
Installation issue - /tmp access
Posted: Tue Jan 09, 2018 1:34 pm
by TravisD
My webhosting doesn't allow access to /tmp folder. I was informed that by default it only support access to /tmp/uploads subfolder and provider doens't allow to change this. I would like to ask, how to install CMSMS with this issue/limitation, please?
The key parts of the error looks like this:
Code: Select all
Warning: is_dir(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)
/cmsms-2.2.5-install.php/app/class.cms_install.php on line 39
General question.... If there is such limitation on my webhosting, is it wise to focus on CMSMS ? Can I have other issues with this during the following adjustments of the CMS and installation of the plugins or themes?
Travis
Re: Installation issue - /tmp access
Posted: Tue Jan 09, 2018 3:42 pm
by PinkElephant
Hi Travis
TravisD wrote:My webhosting doesn't allow access to /tmp folder.
Totally, untested here but readme-phar.txt points the way for installation...
Code: Select all
The installation assistant supports the following URL based options:
1. TMPDIR=/absolute/path
You'll have to set config.php values for
public_cache_location, public_cache_url (maybe), tmp_cache_location & tmp_templates_c_location.
It should work but you may come across some (older?) modules that don't respect bespoke temp file locations.
Re: Installation issue - /tmp access
Posted: Tue Jan 09, 2018 7:38 pm
by TravisD
Thank you for your answer.
I've tried running ...../cmsms-2.2.5-install.php?TMPDIR=/tmp/uploads
but that doesn't seem to be correct syntax, is it? I'm getting the same error.
If the syntax is not correct, what would the right one, please?
Travis
Re: Installation issue - /tmp access
Posted: Wed Jan 10, 2018 7:17 am
by PinkElephant
TravisD wrote:.../cmsms-2.2.5-install.php?TMPDIR=/tmp/uploads
The docs call for an absolute path. In my case that would usually be something like '/srv/example.com/public/htdocs/tmp/uploads'.
If it still doesn't work it might be worth pointing us at the host's support pages.