Apache configuration

by Gisle Hannemyr

TBA.

Table of contents

Introduction

[TBA]

Increasing upload file size

The default upload file size for PHP is only 2 Mbyte. This may be too little for some applications. You can change it in the .conf file for the site. For example, to increase it to 32 Mbyte, use the following two lines:

php_value upload_max_filesize 32M
php_value post_max_size 32M

After changing these values, you need to test the configuration and do a graceful reload of the web server. The commands for Apache on Ubuntu are:

$ sudo apache2ctl configtest
$ sudo apache2ctl graceful

Final word

[TBA]


Last update: 2015-10-30 [gh].