New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tempdir problem #1465
Comments
@skullwritter, could you please clarify what you mean? Thanks. |
yup... the sys_get_temp_dir does not always work so it would be nice to gave something checking for the open_basedir:
|
@borekb i've updated the comment |
Thanks. It's still not clear to me when this happens or why, could you please link to some resources? Also, if you're suggesting specific code changes in VersionPress, feel free to open a PR where the discussion can happen closer to the source code (there's no guarantee that the PR will be accepted, it might just be easier to discuss around specific code changes). |
@borekb it happened after the install of the plugin it was saying that it didn't have readwrite permission on the /tmp, and the open base dir contained it, so, i've had to add the: |
Thanks for the additional info. It sounds to me that it's a server configuration issue, not something that should lead to a change in VersionPress itself, would you agree? If so, we could move this to |
in terms of server configuration, i've had seen many users complaining about virtualhosts, that do not contain the specific var
|
I host my wp on virtualhost and I faced that issue, however, when I have defined I agree with @borekb this issue seems more a configuration issue, however @borekb, to ease the process of configuration what about upgrading vp code to add an option where we can define VP_TEMP_DIR What do you think ? |
temp dir
get temp dir from php function:
sys_get_temp_dir()
or
putenv('TMPDIR='.ini_get('open_basedir').'/tmp')
The text was updated successfully, but these errors were encountered: