Jump to content

scottlpool2003

New Members
  • Posts

    2
  • Joined

  • Last visited

scottlpool2003's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm having mega problems with my PHP configuration that: Have not been able to help me resolve. It is a file upload script and the URL is valid on the server. I've been trying for weeks to resolve this issue and nobody seems to be able to help me locate the problem. A more detailed description of the problem: Uploading files larger than 10MB nearly always fail but occasionally they get through. I believe the php.ini file to be setup correctly with the following settings: C:\Temp\ is writable. I have tried various scripts and all have the same outcome so I don't believe it to be a coding error. I see the file upload to C:\Temp and when it fails the file remains so it's almost like it just doesn't want to move the file. As I say, occasionally the file gets through and files less than 10MB get through fine so it is unlikely to be a permission issue. I also changed maxAllowedContentLength in IIS to 30000000 with no success. I then created an uploader in ASP which worked fine so this indicates its definitely a PHP issue. I tried not even moving it away from C:\Windows\Temp and leaving it in there using the move_uploaded_file command and to my surprise it didn’t work. I tried changing the php.ini to instead of put it in C:\Temp to put it in a writable D:\Temp folder and unusually when I force outputted an error by deliberately breaking the code I noticed that it was still trying to move it from C:\Windows\Temp and the tmp file was in fact in the C:\Windows\Temp folder. Could something be overriding my settings? I did check via Plesk control panel to see if any custom settings were set but they weren’t, I checked in IIS PHP Manager also and nope, nothing out of the ordinary. I even tried switching PHP versions from 5.2 to 5.3 and even 5.4 but they all have the same issue. I am totally lost with this one and nobody seems to be able to help me get the issue resolved.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.