access denied[solved]

I use $fd=fopen($zipName, "wb"); (suppose to create a file) but there is an error

fopen( failed to open stream: Permission denied

what is wrong?

Like the message says: Your webserver process doesn’t have permissions to create a file at the specified location. Check the owner/group of the directory and adapt permissions.