• mihhru

    (@mihhru)


    Hello.
    I have two VPS servers. 2 and 1 Gb RAM.
    Centos 7 (with last updates) nginx + php-fpm.
    Both have the same problems when upgrade WP.
    In log php-fpm/www-error.log – “Allowed memory size of XXX bytes exhausted”
    Everywhere on the Internet write that I need to increase the memory limit of php. Ok. I increased it from 256Mb to 1Gb. I got these errors:

    PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /var/www/vhosts/.../wp-admin/includes/file.php on line 160
    
    PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in /var/www/vhosts/.../wp-admin/includes/file.php on line 156
    
    PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 130968 bytes) in /var/www/vhosts/.../wp-admin/includes/file.php on line 160

    WP need to update more than 1Gb of memory for php, or a problem in something else?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Allowed memory size exhaused (php-fpm)’ is closed to new replies.