Re: file upload > 2 MB
| From: | Erwin | Date: | Mon, 09 Sep 2002 11:22:30 +0000 |
| Subject: | Re: file upload > 2 MB | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115720@lists.php.net to get a copy of this message | ||
Andy wrote:
> Hi there,
>
> I am trying to configure php inside the httpd.conf to allow file
> uploads inside a special directory with more than 2 MB.
>
> Somehow the syntax is wrong, since I do get the errormsg that there
> are 2 arguments required. Here is the code:
>
> # special settings for webmailer
> <Directory "/home/email">
> php_flag upload_max_filesize = 50M
> </Directory>
Remove the = and use php_value
php_value upload_max_filesize 2M
HTH
Erwin