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


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to