Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Upload file by php : no more possible since update

  1. #1
    Join Date
    Jul 2007
    Posts
    9

    Unhappy Upload file by php : no more possible since update

    Hello,

    I have an file download mod on my site phpbb and it was working perfectly. Since 2/3 weeks I asked to update my account. So they moved it to new server with updated php. Since then I cant upload file larger then 2MB. I know this is a server limit and it can be taken off by using php.ini that was what i was usign before and it was working perfectly. Now it wont work anymore. I ask help on chat on bluehost and the support is saying same that only thing to do is php.ini and he himself put a new one with 20Mb limit. But nothing is changed. I used the copyphpini script to copy the file into all folders. And it is still same. I am stucked and support is not helping. What to do ? Please Help me . My memebr of the site are complaining and i cant do much to fix the issue as it is coming from your side.

    Please help

    Thanks

  2. #2
    Join Date
    Jul 2007
    Posts
    9

    Default

    Please Help this issue is too much annoying

  3. #3
    Join Date
    Feb 2006
    Posts
    626

    Default

    Edit your php.ini file and set "upload_max_filesize =" to something other than 2M ... 2M is just the default.

    If you are using FastCGI you can just edit the main one otherwise edit php.ini in the folder that your upload script is in.

  4. #4
    Join Date
    Jul 2007
    Posts
    9

    Default

    Thanks for your reply I think but you didnot even read my message else you will not say this :S
    Quote Originally Posted by siguie View Post
    Edit your php.ini file and set "upload_max_filesize =" to something other than 2M ... 2M is just the default.

    If you are using FastCGI you can just edit the main one otherwise edit php.ini in the folder that your upload script is in.

  5. #5
    Join Date
    Feb 2006
    Location
    Somewhere where I don't know where I am
    Posts
    2,155

    Default

    Try raising the post_max_size in your php.ini file
    Sign Up Now!
    Unlimited Storage, Unlimited Transfer, Host Unlimited domain names, 1 Free Domain Name
    BlueHost Features | BlueHost Help Desk | Become a BlueHost Affiliate | BlueHost CEO Blog
    (888) 401-4678 | Create a support ticket

  6. #6
    Join Date
    Jul 2007
    Posts
    9

    Default

    Quote Originally Posted by areidmtm View Post
    Try raising the post_max_size in your php.ini file
    Already tried that, even had put 9999M but nothing to do I think with update they did something hardcoded to limit upload limit :S

  7. #7
    Join Date
    Feb 2006
    Location
    Somewhere where I don't know where I am
    Posts
    2,155

    Default

    Quote Originally Posted by netuser View Post
    Already tried that, even had put 9999M but nothing to do I think with update they did something hardcoded to limit upload limit :S
    Have you checked with support yet?
    Sign Up Now!
    Unlimited Storage, Unlimited Transfer, Host Unlimited domain names, 1 Free Domain Name
    BlueHost Features | BlueHost Help Desk | Become a BlueHost Affiliate | BlueHost CEO Blog
    (888) 401-4678 | Create a support ticket

  8. #8
    Join Date
    Jul 2007
    Posts
    9

    Default

    Quote Originally Posted by areidmtm View Post
    Have you checked with support yet?
    Yes anf they have nothing else to say then php.ini

  9. #9
    Join Date
    Feb 2006
    Location
    Somewhere where I don't know where I am
    Posts
    2,155

    Default

    Honestly, if you want to upload a file over 2MB you should create an FTP connection and transfer it that way.

    See http://us.php.net/ftp

    BH may have put in a limit that you cannot upload files larger than 2MB in that fashion anymore. I'm not sure.
    Sign Up Now!
    Unlimited Storage, Unlimited Transfer, Host Unlimited domain names, 1 Free Domain Name
    BlueHost Features | BlueHost Help Desk | Become a BlueHost Affiliate | BlueHost CEO Blog
    (888) 401-4678 | Create a support ticket

  10. #10
    Join Date
    Jul 2006
    Posts
    4

    Default php.ini file

    Be sure that the directory that you are running your php upload script in has a php.ini file in it with the file size modification. After several hours of beating my head against the keyboard I found this out. It will use the php defaults if the folder doesn't have it's own php.ini file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •