Home > apache, GNU/Linux, php, tips > Limited Upload max on your own directory apache

Limited Upload max on your own directory apache


Apache is one powerfull web server most used on cyber world. So many module to configuring as you want. One of them called mod_php. Sometimes we need different value of php main configuration. An example, on php main configuration we’ve added upload max 5M. So, you want a directory have different to upload more 5 M, example: 100M. So just add to your own directory directive:

<Directory /usr/local/www/upload>
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 200
php_value max_input_time 200
</Directory>

semoga membantu.. 🙂

ref:

http://php.net/manual/en/configuration.changes.php

Advertisements
Categories: apache, GNU/Linux, php, tips Tags: , , , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s