linein designs

27 Apr, 2010

PHP Unable to Copy Files from Upload (Plesk and PHP safe_mode)

Posted by: john In: php|plesk

After searching around for the better part of this morning, I finally figured out why my file upload script was not working correctly. When I setup the domain I did not even check to see if it was turned on since I did it relatively quickly, but right there in the “Hosting Settings” is an option to turn on PHP safe_mode.

I’m sure there’s a good reason to keep it on when using virtual hosting with multiple people using the same server, but for me it was just causing more problems then I could figure out. If anyone knows how to keep it on while still being able to copy/move files from an upload, please leave a comment below.

Similar Posts:

2 Comments »

Comment by Lothar

What security problems may occur if I disable the safe-mode? (Sorry for my bad english, I’m german ;)

 
Comment by Marcus

I have the same problem. What solution did you use?

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post



Please Support Our Friends

Banner
FreshBooks

About

My name is John Veldboom and have been in design and web programing for just over 8 years now. Started off as a hobby in high school but it has developed into a full time job now. I always tell people that if I wasn't doing this at work each day, I would be at home doing it for free. I love it!

Please visit the contact page to drop me a message.