Skip to content
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

Add an example of setting temp dir on Win8 to solve tmp dir problems on this OS. #39

Closed
GoogleCodeExporter opened this issue Aug 28, 2015 · 25 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. sys_get_temp_dir(); returns "C:\windows"
2. This folder is not writeable by php
3. This causes extensions to malfunction when they need to write temporary files

I would expect the temp folder to be C:\windows\temp or something that I can 
write to.


I am using php_desktop_msie_v10 on Windows 8.


First, I'd like to say that I really like this runtime environment. It's a 
great idea and I've found it very easy to work with. I'm running into this 
problem when trying to use ImageMagick, but I can see it being a problem with 
other extensions as well. I can't find a php.ini directive to change the temp 
folder, so I'm wondering if there's some other way to do it?


Original issue reported on code.google.com by [email protected] on 3 Jul 2013 at 9:02

@zeufparis
Copy link

On W10, the C:\windows\temp is not writeable either for a non-admin user... So ps-files-cleanup-dir error comes out often... No php putenv or htaccess SetEnv works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants