Hi Friends,
I am new to the PHP, can anybody please tell me what I have to do to allow an user to upload files more than 10MB.
I tried changing in the php.ini file following..
upload_maxfile_size=15M
host_max_size=15M
memory_limit=15M
But it didn't work.
I also want to know what is .htaccess file, where it is present.
I am using Apache 2.2.9 & PHP 5.2.6.
Thanks,
Basant Singh.
Uploading files of size more than 10MB
Moderator: General Moderators
-
BasantSingh
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 05, 2008 3:19 am
Re: Uploading files of size more than 10MB
Have you tried
post_max_size = 15M
as well?
post_max_size = 15M
as well?
-
BasantSingh
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 05, 2008 3:19 am
Re: Uploading files of size more than 10MB
Ya i have tried that...
Re: Uploading files of size more than 10MB
Have you tried restarting the server?
The .htaccess you create in the root of the folder you want the rules within it to apply to.
The .htaccess you create in the root of the folder you want the rules within it to apply to.
-
BasantSingh
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 05, 2008 3:19 am
Re: Uploading files of size more than 10MB
Can you please tell me that what should be the content of the file if we want to upload a large file??
According to you if my php files are in a folder named "webApplication" then .htaccess should be in that folder
only????
I have used the following....
I am using php5..
<IfModule mod_php5.c>
php_value upload_max_filesize 50M
php_value post_max_size 50M
</IfModule>
According to you if my php files are in a folder named "webApplication" then .htaccess should be in that folder
only????
I have used the following....
I am using php5..
<IfModule mod_php5.c>
php_value upload_max_filesize 50M
php_value post_max_size 50M
</IfModule>
Re: Uploading files of size more than 10MB
Edit your php.ini instead of .htaccess and httpd.conf