Page 1 of 1

PHP File UPLOAD

PostPosted: 13. April 2009 17:47
by shuja_khan
Hi,

I am using XAMPP ver 1.6.8

Windows Server 2003 SP2

I am using phpbb ver 3.0.4

I want to enable my staff to upload large attachments to our local internal forum, some of these files may be as large as 4 to 6GB.

phpbb allowd the attachment to upload the files, but it is relying on PHP file upload instruction in XAMPP.

I have modified following files in this sequence.

c:\XAMPP\apache\bin\php.ini
c:\XAMPP\php\php.ini

& change the following instructions in both files, but which one is the primary file. But had done it on both just in case.

; Maximum size of POST data that PHP will accept.
post_max_size = 9999M

; Maximum allowed size for uploaded files.
upload_max_filesize = 9999M

Then I stop APACHE & start again APACHE, When I check phpinfo() it do shows that the instruction is now effective.

But my phpbb is not working in terms of large file attachments.

But when I do it on another machine i.e. XP SP2, doing same steps, my phpbb is able to work.

I am bit confused, as why php.ini instruction is not applicable.

Can some some please advise if they have seen such problem.

Thanks in advance

Re: PHP File UPLOAD

PostPosted: 13. April 2009 20:59
by morfie
you may have these set but be sure these two are also set.

file_uploads = On
upload_tmp_dir = "C:\xampp\tmp"

Re: PHP File UPLOAD

PostPosted: 14. April 2009 00:23
by Sharley
Did you also set the file size limits in your Admin Panel in phpBB3 under:
Board Configuration>Attachment settings?