Memory warning even though no limit set

Hello, I’m getting this warning in System Check even though I in my php.ini files I have “memory_limit = -1”

On a high traffic website, the archiving process may require more memory than currently allowed. If necessary, change the memory_limit directive in your php.ini file.
After making this change, restart your web server.

Is this an expected bug?

Hi,

Can you check (with an phpinfo() file) if the config is read? Maybe your webserver is using another php.ini.

Thanks @Lukas, I looked in both:

/etc/php5/cli/php.ini
/etc/php5/fpm/php.ini

And both have “memory_limit = -1”

doing “php -i” in terminal shows “memory_limit => -1 => -1”

Hi,

Can you still try what the php process used by you web server uses?

E.g. By adding a file similar to this one to the public directoy and accessing it via the browser:

<?php
var_dump(ini_get('memory_limit'));

This is what piwik does internally: