Typical Error Message: mmap() failed: [12] Cannot allocate memory PHP Fatal error: Out of memory (allocated 94896128) (tried to allocate 35651616 bytes) in /var/www/littlefurnace.com/matomo/vendor/pear/archive_tar/Archive/Tar.php on line 1907 Remedy: #1 Find where the file is for your PHP settings. The location is variable. PHP language is installed in the same machine where your web server for Matomo is running. Look up how to run phpinfo(). This pink and blue page will show the location of your PHP settings: #2 Now look inside that file. Find the memory setting. Change it to something like memory_limit = 2G
$ head /etc/php/8.2/fpm/php.ini $ grep memory /etc/php/8.2/fpm/php.ini $ sudo nano /etc/php/8.2/fpm/php.ini $ sudo systemctl restart apache2
0 Comments
Leave a Reply. |
Troubleshooting + Deploying Matomo
Archives
July 2024
Categories |