View Full Version : Upload file by php : no more possible since update
netuser
08-08-2007, 08:29 AM
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
netuser
08-09-2007, 01:48 AM
Please Help this issue is too much annoying :mad:
siguie
08-09-2007, 03:11 AM
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.
netuser
08-09-2007, 10:21 AM
Thanks for your reply I think but you didnot even read my message else you will not say this :S
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.
areidmtm
08-09-2007, 10:26 AM
Try raising the post_max_size in your php.ini file
netuser
08-10-2007, 05:41 AM
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
areidmtm
08-10-2007, 07:54 AM
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?
netuser
08-10-2007, 10:15 AM
Have you checked with support yet?
Yes anf they have nothing else to say then php.ini :mad:
areidmtm
08-10-2007, 10:17 AM
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.
jtsmoke
08-11-2007, 06:04 AM
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
netuser
08-12-2007, 04:02 PM
finally after several days of ping pong of messaged between helpine, finaly they accept the problem is coming from their side.As they put a info.php file and it show the limit to 2mb and php.ini is completely been ignored by server. Hope they will fix it quickly as it is now 2 weeks that it is not working. :(
danMc
12-22-2007, 11:09 AM
Was this ever solved? I am struggling with the same issue. My error logs make it look like even though you override some settings with php.ini there are still limits and that should be documented.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.