hey problem upload more than 2MB

Status
Not open for further replies.

Eddian

New Member
Messages
20
Reaction score
0
Points
0
Hi


i have a problem uploading more than 2MB for phpBB because the server is not configure php.ini u need confugure to

upload_max_filesize = 20M


thanks!
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
On whatever page you want to upload more to the site with, add this at the top:

PHP:
ini_set('post_max_size', '20M');
ini_set('upload_max_filesize', '20M');

I haven't tested this, but it should work.
 

Eddian

New Member
Messages
20
Reaction score
0
Points
0
Not workin nedren look

Filesize: 0 Bytes


ALWAYS WHEN A TRIED TO UPLOAD ATTCHMENT

The problem is in THE SERVER u need config. like that

upload_max_filesize = 20M
 
Last edited:

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
:)

You can edit configuration variables on the fly, (Well only some, but a good amount of them.), which saves having to edit php.ini manually.
 
Status
Not open for further replies.
Top