Using htaccess to set the right requirements

Last week I explained how to set the right requirements for our video script or any video script, this week I will explain how to do this even faster.

You need to open your .htaccess file and add this on top:

php_value upload_max_filesize 200M
php_value post_max_size 200M
php_value memory_limit 210M
php_value max_execution_time 1000
php_value max_input_time 1000

Some host allow this and some don’t but now you two options to set the right requirements.

There are even more ways of settings these values but I think this is all you need.

Next week I’m explaining this for lighttpd.

Author: rouge
Posted in: Uncategorized

Trackback from your site.

Leave a comment

You must be logged in to post a comment.