: 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
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?
More posts by @Heady270
2 Comments
Sorted by latest first Latest Oldest Best
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
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?
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.