Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9064765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:20:11+00:00 2026-06-16T16:20:11+00:00

When uploading an image PHP stores the temp image in a local on the

  • 0

When uploading an image PHP stores the temp image in a local on the server.

Is it possible to change this temp location so its off the local server.

Reason: using loading balancing without sticky sessions and I don’t want files to be uploaded to one server and then not avaliable on another server. Note: I don’t necessaryly complete the file upload and work on the file in the one go.

Preferred temp location would be AWS S3 – also just interested to know if this is possible.

If its not possible I could make the file upload a complete process that also puts the finished file in the final location.

just interested to know if the PHP temp image/file location can be off the the local server?

thankyou

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T16:20:12+00:00Added an answer on June 16, 2026 at 4:20 pm

    You can mount S3 bucket with s3fs on your Instances which are under ELB, so that all your uploads are shared between application Servers. About /tmp, don’t touch it as destination is S3 and it is shared – you don’t have to worry.

    If you have a lot of uploads, S3 might be bottleneck. In this case, I suggest to setup NAS. Personally, I use GlusterFS because it scales well and very easy to set up. It has replication issues, but you might not use replicated volumes at all and you are fine.

    Another alternatives are Ceph, Sector/Sphere, XtreemFS, Tahoe-LAFS, POHMELFS and many others…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am uploading image to server using base64 its working fine if image is
I am currently working with multiple php image uploading but using this SITE I
How should I handle image uploading using PHP? How should I handle the chmod
I am uploading image using filedrop.js. Code in application.js file looks like this:- $(.droparea).each(function(event){
I'm using this php code for an image upload. But I keep getting an
Hi I am uploading image on php server and successfully uploaded with the help
i doing app for uploading image to php server from android and the php
Possible Duplicate: Image uploading via PHP returning empty array I am unable to successfully
How can I check for height and width before uploading image, using PHP. Must
I am handling a uploading image file using PHP, then using ImageMagick to create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.