[ PHP ] Mengatur Maksimal Upload pada PHP dalam Apache Webserver

Assalamualaikum Warahmatullahi Wabarokatuh

Berikut saya akan menulis tutorial untuk mengatur maksimal Upload pada PHP dengan Webserver Apache pada Debian 8.

PHP has several configuration options to limit resources consumed by scripts. By default, PHP is set to allow uploads of files with a size of 2MB or less.

Kemudian Edit File php.ini, yang berada pada

/etc/php5/apache2/php.ini
dan cari tag dengan nama


memory_limit = 32M
upload_max_filesize = 24M
max_file_uploads= 30M
post_max_size = 32M

Kemudian Restart Apache

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s