move_uploaded_file failed to open stream and Permission denied error -wamp server with windows
Posted by: andreea115 (---.range86-159.btcentralplus.com)
Date: May 07, 2014 01:12PM

am running wamp on windows 7

i am trying to upload some images via a form into my MVC applIcation. i am working from my laptop, so the Wamp is installed on my laptop

my problem is that i keep getting this message:

Warning: move_uploaded_file(C:\Users\test\zend\\module\guest\src\guest/pics/holdover/pic.jpg): failed to open stream: Permission denied in

my problem is that i have not restricted any previleges so i don't knwo why it would be restricted.

not-with-standing this, where do i go on my WAMP to enable access to the folder ?

for example, i have already done this in my apache folder:



<VirtualHost *:80>
ServerName Zend
DocumentRoot "C:\Users\zend\testingZend2\public"
SetEnv APPLICATION_ENV "development"
<Directory "C:\Users\zend\testingZend2\public">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

so, i am unclear why permissions are blocked?

thank you in advanced for your advise

i think that i ae

Options: ReplyQuote
Re: move_uploaded_file failed to open stream and Permission denied error -wamp server with windows
Posted by: RiggsFolly (---.as13285.net)
Date: May 07, 2014 01:56PM

See your question on stackoverflow for an answer.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.