PHP File UPLOAD

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP File UPLOAD

Postby shuja_khan » 13. April 2009 17:47

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
shuja_khan
 
Posts: 1
Joined: 13. April 2009 17:26

Re: PHP File UPLOAD

Postby morfie » 13. April 2009 20:59

you may have these set but be sure these two are also set.

file_uploads = On
upload_tmp_dir = "C:\xampp\tmp"
morfie
 
Posts: 6
Joined: 13. April 2009 19:21

Re: PHP File UPLOAD

Postby Sharley » 14. April 2009 00:23

Did you also set the file size limits in your Admin Panel in phpBB3 under:
Board Configuration>Attachment settings?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 52 guests