Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 90112 bytes)

Hello,
I migrated my sites to HestiaCP and when I do a test and save my homepage then I get an error from elementor (500 server error).

In the error logs of the webpage I get this:
[Thu May 12 12:43:41.042886 2022] [proxy_fcgi:error] [pid 21201:tid 139988796688128] [client 188.118.18.66:0] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 90112 bytes) in /home/admin/web/gobobby.be/public_html/wp-includes/wp-db.php on line 2128’, referer: https://gobobby.be/wp-admin/post.php?post=155&action=elementor
[Thu May 12 12:43:49.922406 2022] [proxy_fcgi:error] [pid 21201:tid 139988679255808] [client 188.118.18.66:0] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 90112 bytes) in /home/admin/web/gobobby.be/public_html/wp-includes/wp-db.php on line 2128’, referer: https://gobobby.be/wp-admin/post.php?post=155&action=elementor

How can I fix this?
thanks.

I could fix it by changing the values in php.ini and rebooting the server.

1 Like