Question

problem in uploading images using php image upload script

  • Posted on December 25, 2014
  • modeisseyAsked by modeissey

I am unable to upload images using php image upload script. The upload image is not moving to the folder but this scrip is working in other web hosting.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Are you getting any errors? It sounds like Apache doesn’t have permission to create files in your upload directory. Try granting the www-data user (which Apache runs as) write privileges to your upload directory:

sudo chgrp www-data /var/www/path/to/uploads
sudo chmod g+w /var/www/path/to/uploads