How can i raise the upload limit for files and images?

It is necessary to modify the php.ini and the node.conf to raise the uploadlimit for files and images within Gentics Content.Node.

The multifile flash uploader does only require changes to the node.conf and a tomcat restart.

1 php.ini

  • GCN 3.x: /Node/etc/php.apache/php.ini
  • GCN 4.x: /Node/etc/php/php.ini

post_max_size = 100M
upload_max_filesize = 100M

2 node.conf

The parameter MAX_FILESIZE = “100M”; needs to be changed to the desired size. Please note that all these settings are affected by a small overhead. Especially the ‘post_max_size’. This mean that the upload limit should be raised by a few MB.

3 Restart

Changes to the php.ini will only become effective once the apache process gets restarted. This can only be done using the root user.


/Node/bin/nodectl restart apache
/Node/bin/nodectl restart tomcat