Janik von Rotz


1 min read

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

Categories: Web server
Tags: application , nginx , php , php5 , ubuntu
Edit this page
Show statistic for this page