Re: how to increase maximum upload file size
| From: | Srinadh Sannidhanam | Date: | Sat, 26 Feb 2005 04:47:20 +0000 |
| Subject: | Re: how to increase maximum upload file size | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209491@lists.php.net to get a copy of this message | ||
Even if I change that in php.ini it doesn't work. I changed LimitRequestBody value in
<FILE> directive of php.conf located in /etc/httpd/conf.d. Now it is working fine.
But, I am not sure how post_nax_size effects file uploads. In my server it is set to 8M and
upload_max_filesize is 32M. I successfully uploaded a file with size 13M .
--Srinadh
Bret Hughes <bhughes@elevating.com> wrote:
On Thu, 2005-02-24 at 06:32, Srinadh Sannidhanam wrote:
> Hi,
> In my application I need to allow the user to upload a file with size more than 2M.
> I came to know that by default php will allow only 2M. How can change it.
> I changed, that in php.ini file and restarted apache. but still not working.
> How to solve this problem?
>
> Thanks,
Seems like I had to change post_nax_size also. It is set to the same as
upload_max_size in my php.ini.
Bret
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.