Increase Max Upload for php5-fpm website

This post is part of my Your own Virtual Private Server hosting solution project.
Get the latest version of this article here: https://gist.github.com/9604715.

Introduction

In some cases the default memory allocation for php is not enough to run an application properly.

Requirements

Instruction

Update the php5-fpm config.

sudo vi /etc/php5/fpm/php.ini
Set memory_limit = 512M

Restart the php5-fpm service.

sudo service php5-fpm restart

Leave a Reply