Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Upload file max size in .htaccess
  • 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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion