File exceeds the defined ini size

Hello
Iam using omeka s and add image of 2,3 MB.
Is possible change the default value 2 MB
thanks
gus

That is most likely the maximum upload size in php.ini. You’ll want to change the settings there.

thanks very much Patrick

hello
I triet change in php.ini
for example 50M

but I have the same error
I change php.ini in

/etc/php/7.0/apache2#

or

/etc/php/7.0/cli#

I have these error

Omeka S encountered an error
Omeka\Mvc\Exception\RuntimeException
POST request exceeded maximum size

Details:

Omeka\Mvc\Exception\RuntimeException: POST request exceeded maximum size in /var/www/html/application/src/Mvc/MvcListeners.php:362
Stack trace:
#0 /var/www/html/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Omeka\Mvc\MvcListeners->checkExcessivePost(Object(Zend\Mvc\MvcEvent))
#1 /var/www/html/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#2 /var/www/html/vendor/zendframework/zend-mvc/src/Application.php(311): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#3 /var/www/html/index.php(21): Zend\Mvc\Application->run()
#4 {main}

sorry, I forgett reload apache. Is ok now
gus