Monday, November 2, 2026
Explore Technology
Connect knowledge - Elevate skills
Cpanel 5 min read

Fix lỗi PHP Fatal error: Allowed memory size of bytes exhausted trên CPanel

admin Th12 27, 2022 0 comments
Fix lỗi PHP Fatal error:  Allowed memory size of bytes exhausted trên CPanel

Lỗi: Thường sẽ xuất hiện lỗi error 500

2022-12-27 20:16:53.085497 [NOTICE] [1802993] [T0] [66.249.71.222:43592#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 328
2022-12-27 19:43:39.820930 [NOTICE] [1802993] [T0] [198.235.24.27:64530#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 18:40:30.616265 [NOTICE] [1518908] [T0] [66.249.79.202:39485#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/xn--cnthviettel-h3c0077g.vn/wp-includes/pomo/mo.php on line 320
2022-12-27 18:39:28.284682 [NOTICE] [1518908] [T0] [66.249.79.200:54190#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/xn--cnthviettel-h3c0077g.vn/wp-includes/pomo/mo.php on line 320
2022-12-27 16:35:14.418631 [NOTICE] [1324577] [T0] [198.235.24.60:64702#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 328
2022-12-27 16:03:23.131369 [NOTICE] [1314806] [T0] [209.141.41.193:35760#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/xn--cnthviettel-h3c0077g.vn/wp-includes/pomo/mo.php on line 320
2022-12-27 15:54:46.287260 [NOTICE] [1300805] [T0] [209.141.35.128:35502#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/xn--cnthviettel-h3c0077g.vn/wp-includes/pomo/mo.php on line 320
2022-12-27 15:53:58.213779 [NOTICE] [1300805] [T0] [205.185.121.69:50968#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/xn--cnthviettel-h3c0077g.vn/wp-includes/pomo/mo.php on line 320
2022-12-27 15:12:55.729275 [NOTICE] [1209396] [T0] [209.141.35.128:55592#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/xn--cnthviettel-h3c0077g.vn/wp-includes/pomo/mo.php on line 320
2022-12-27 15:12:02.592785 [NOTICE] [1209397] [T0] [125.235.237.1:45203-1#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 15:12:01.266186 [NOTICE] [1209396] [T0] [125.235.237.1:34579#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 15:11:49.216398 [NOTICE] [1209396] [T0] [125.235.237.1:5241#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 15:11:46.102931 [NOTICE] [1209397] [T0] [125.235.237.1:56689#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 13:29:27.958100 [NOTICE] [939375] [T0] [125.235.237.131:23893#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 10:31:59.523391 [NOTICE] [3850736] [T0] [66.249.68.30:35130#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:49:00.023548 [NOTICE] [3213556] [T0] [27.74.246.143:34737#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/xn--cnthviettel-h3c0077g.vn/wp-includes/pomo/mo.php on line 320
2022-12-27 08:45:08.197302 [NOTICE] [3213556] [T0] [27.74.246.143:34685#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:42:56.082008 [NOTICE] [3213557] [T0] [27.74.246.143:34674#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:28:00.724599 [NOTICE] [3213556] [T0] [27.74.246.143:34422#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:27:05.310176 [NOTICE] [3213557] [T0] [125.235.237.131:55836#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:26:31.643951 [NOTICE] [3213556] [T0] [125.235.237.131:59838#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:26:18.244495 [NOTICE] [3213556] [T0] [125.235.237.131:23757#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:26:08.228068 [NOTICE] [3213556] [T0] [125.235.237.131:51106#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:25:18.278507 [NOTICE] [2095787] [T0] [125.235.237.131:13757#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:24:53.144781 [NOTICE] [2095788] [T0] [125.235.237.131:53591#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 328
2022-12-27 08:21:36.381810 [NOTICE] [2095788] [T0] [27.74.246.143:34323#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/xn--cnthviettel-h3c0077g.vn/wp-includes/pomo/mo.php on line 320
2022-12-27 08:15:48.012701 [NOTICE] [2095787] [T0] [66.249.71.62:46992#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 328
2022-12-27 08:11:48.007197 [NOTICE] [2095788] [T0] [66.249.79.70:42315#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 08:02:49.636523 [NOTICE] [2095787] [T0] [27.74.246.143:33546:HTTP2-1#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 07:53:23.299026 [NOTICE] [2095787] [T0] [205.210.31.131:60886#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 328
2022-12-27 07:51:45.208521 [NOTICE] [2095788] [T0] [66.249.71.143:38090#APVH_cogihomnay.net:443] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320
2022-12-27 07:48:29.639088 [NOTICE] [2095787] [T0] [125.235.237.131:53471#APVH_cogihomnay.net] [STDERR] PHP Fatal error:  Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/nhintvgh/cogihomnay.net/wp-includes/pomo/mo.php on line 320

Nguyên nhân:

Do trên cpanel memory limit trên cpanel đã set đủ nhưng trên source wordpress thì vẫn chưa nhận đủ.

Cách xử lý: 

Login vào hosting cpanel > File Manager > public_html (tùy vào source map vào domain) > Edit file wp-config.php

Thêm vào dòng lệnh trên:

define( 'WP_MEMORY_LIMIT', '512M' );

Sau đó save lại file wp-config.php.

Sau đó bạn thử lại trang web thì thấy website đã hoạt động trở lại

 

admin

Technical author & IT enthusiast at SystemZoneVN (systemzonevn.top).

Latest Tech Posts

Fresh updates from systemzonevn.top
All Posts
Làm Chủ Docker Logs Linux

Làm Chủ Docker Logs

Chào các bạn lập trình viên và quản trị hệ thống! Khi làm việc với…

9 min read Th10 01, 2026
5 1 đánh giá
Đánh giá bài viết
Theo dõi
Thông báo của
guest
0 Góp ý
Cũ nhất
Mới nhất Được bỏ phiếu nhiều nhất

Fast Updates

Latest & breaking tech news

Quality Content

Verified & carefully curated

Community

Learn, share and grow together

Always Connected

Empowering developers & tech enthusiasts

0
Rất thích suy nghĩ của bạn, hãy bình luận.x