Mobile app version of vmapp.org
Login or Join
Heady270

: Setting folder to be writable by apache/php in windows? I have a local test server, and I am attempting to write a file with PHP. I am getting a message that the folder (../uploads/) does

@Heady270

Posted in: #Apache #Save #Writing

I have a local test server, and I am attempting to write a file with PHP. I am getting a message that the folder (../uploads/) does not exist or I do not have permission.

My directory structure is

D:xampphtdocswebsite //<--root
D:xampphtdocswebsitelibrary //<--where script runs
D:xampphtdocswebsiteuploads //<--where I'd like to save


I know on a *nix server, I can just chmod the permission to 0777. What do I need to set on my windows box to give apache the ability to write a file?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Heady270

2 Comments

Sorted by latest first Latest Oldest Best

 

@Courtney195

Personally i don't use XAMPP, but i use WAMP as my test server, it is perfect for my needs since you can enable/disable mods on the run.

If you don't use the Perl install in XAMPP you should maybe check out WAMP at www.wampserver.com/en/
Also i read that XAMPP could have problems with file permissions on Windows at www.magentocommerce.com/wiki/1_-_installation_and_configuration/installing_on_windows_with_xampp_and_wamp

10% popularity Vote Up Vote Down


 

@Kristi941

I'm not an expert on this but as long as the directory is not set to be read only, and it usually isn't by default, it should be writable. Are you 100% sure your path is correct? Have you tried the full path instead of a relative path?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme