Hi,
I'm trying to increase max file size using .htaccess file with no luck. But it works fine for "php.ini".
I added these lines into "public/.htaccess":
php_value upload_max_filesize 5M
php_value post_max_size 10M
Does anybody know how to do the trick?
You don't specify the definition of "no luck". Doesn't work? Gives error? Something else? And in which environment?
If you use PHP in CGI mode, php_value is not supported. If you get a 500 server error, your config is wrong. You can also have a permission issue. This needs "AllowOverride Options" to be enabled.