**
** I am facing image upload issue in php on my droplet. I am trying to upload simple image on specific folder, but image dosen’t move. When i execute
var_dump(is_writable(‘/var/www/html/StagingServer/project-name/front-design/images/upload/’)); It retruns true that means upload folder is writable even after that still image not uploaded on that folder
When i execute $path = ‘/var/www/html/StagingServer/project-name/front-design/images/upload/’; var_dump(move_uploaded_file(‘temp_file_name’,$path));
It returns false. So can you please help on this
Thanks and regards Ruchit Patel
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!
Hello Team, Finally, I got the solution of my problem, i will post here which is very useful to others developers
###-----------Permission to root folder for image upload issue in ubantu14----------### Execute below command
Thanks and regards Ruchit Patel
Hello Team There is no message appeared, so what can I do now. Can you please give me helpful suggestions as soon as possible…
Thanks and regards Ruchit patel
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.