Installation issue - /tmp access

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
TravisD
New Member
New Member
Posts: 2
Joined: Tue Jan 09, 2018 12:51 pm

Installation issue - /tmp access

Post 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
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 169
Joined: Fri Feb 06, 2009 2:08 pm

Re: Installation issue - /tmp access

Post 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.
TravisD
New Member
New Member
Posts: 2
Joined: Tue Jan 09, 2018 12:51 pm

Re: Installation issue - /tmp access

Post 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
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 169
Joined: Fri Feb 06, 2009 2:08 pm

Re: Installation issue - /tmp access

Post 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.
Post Reply

Return to “CMSMS Core”