masterlatif.com
  • KESIHATAN & KECANTIKAN
  • NUTRISI & VITAMIN
  • TUTORIAL & REVIEW
  • PELUANG BISNES
    • SHAKLEE
  • PROJEK
No Result
View All Result
  • Login
  • KESIHATAN & KECANTIKAN
  • NUTRISI & VITAMIN
  • TUTORIAL & REVIEW
  • PELUANG BISNES
    • SHAKLEE
  • PROJEK
No Result
View All Result
masterlatif.com
No Result
View All Result
Home WORDPRESS

Increasing the PHP Memory Limit of Your Website

February 8, 2021
in WORDPRESS
Reading Time: 2min read
2.1k
SHARES
3k
VIEWS
Share on FacebookShare on Twitter

Have you ever come across an error that says: Fatal Error: Memory Size Exhausted? Or maybe your website just went white screen? This usually occurs when you install a new theme, plugin or upgrade your WordPress to the latest version. Or maybe the site is running just too slow?

The main cause of this error is that the PHP memory limit of your host is lesser than the process actually needs. In such cases, you will need to increase your host memory limit, so that the process gets completed. You can increase your host memory limit by following any of the five methods mentioned below.

1. Most Recommended: Just Contact Your Host
Increasing the PHP memory limit is complex and the process differs from hosts to hosts. So it is always better to get it done from someone who knows it well. So just get in touch with your hosting company and they will be happy to do it for you.

POST BERKAITAN

How to Increase PHP Time Limit for a WordPress Site?

WordPress vs Blogger – Mana Yang Lebih Baik?

2. Increasing Memory Limit via PHP.ini file
Many small shared hosted servers do not allow users to access the PHP.ini file. If you are granted access, you can directly increase the memory limit through this file. If not, you can ask your host to allow you to create a duplicate PHP.ini file in your directory. The data or values in the duplicate file will override those in the original PHP.ini file. You can create a duplicate file named PHP.ini in the directory where your WordPress website is installed. If you wish to extend the limit to 256MB, you can enter the following line of code:

memory_limit = 256M;

3. Alternative to editing PHP.ini through wp-config.php
This is another alternative to the PHP.ini method. Simply add the following line in the wp-config.php

ini_set('memory_limit','256M');

4. Changing memory Limit in wp-config.php
In case you are not able to edit the PHP.ini file, you can use this method that helps increase memory limit through the wp-config.php. You can add the following line of code in your wp-config.php file.

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

5. Modifying the .htaccess file
Some of you might have the .htaccess file where you can simply add a line of code to increase the memory limit.

php_value memory_limit 256M

P.S: 256M in the above code samples mean 256 MB. Feel free to change this to any appropriate number.

Tags: exclude
Share850Tweet531

Related Posts

WORDPRESS

How to Increase PHP Time Limit for a WordPress Site?

February 8, 2021
BLOGGING

WordPress vs Blogger – Mana Yang Lebih Baik?

June 6, 2019

Domain dan Web Hosting Terbaik Kategori Paling Murah Yang Boleh Diharapkan Untuk Malaysia

February 1, 2019
Load More

Discussion about this post

  • 8.2k Fans
  • 2.2k Followers
Join Bisnes Online

Join Sekarang

Senna Yang Terjamin Kualiti dan Selamat Herb-Lax

May 16, 2017
Healing Crisis Adakah Anda Alami Krisis Penyembuhan?

Healing Crisis Adakah Anda Alami Krisis Penyembuhan?

June 17, 2017 - Updated on July 6, 2020

Carotomax Untuk Hilangkan Sakit Kepala

December 31, 2017
Mengapa Anda Memerlukan Vitamin C

Mengapa Anda Memerlukan Vitamin C

November 4, 2020
Rawatan Corona Virus COVID-19 Yang Berkesan Di China Disahkan Dr. Richard Cheng

Rawatan Corona Virus COVID-19 Yang Berkesan Di China Disahkan Dr. Richard Cheng

March 23, 2020 - Updated on June 25, 2020
Load More
Pendapatan Master Coordinator Shaklee Jun 2020

Pendapatan Master Coordinator Shaklee Jun 2020

June 26, 2020
14 Kebaikan dan Manfaat ESP Shaklee

14 Kebaikan dan Manfaat ESP Shaklee

June 23, 2020 - Updated on February 12, 2021

Lebih 2 Juta Rakyat Malaysia Dijangka Menganggur Ekoran Covid-19

June 4, 2020 - Updated on June 26, 2020

POPULAR

  • Download Ayat Ruqyah Syariah PERCUMA Video dan mp3

    Download Ayat Ruqyah Syariah PERCUMA Video dan mp3

    5465 shares
    Share 2211 Tweet 1356
  • 11 Perkara Yang Membatalkan Wudhu

    2881 shares
    Share 1164 Tweet 715
  • Bukti Keturunan Firaun Masih Lagi Berkuasa Hingga Hari Ini

    2543 shares
    Share 1017 Tweet 636
  • 11000 Pages of Evidence Filed in Landmark 5G Case Against the FCC, Hearing Set for Jan. 25

    2270 shares
    Share 908 Tweet 568
  • 2 Cara Mudah Untuk Membezakan SD Card Original atau Tiruan

    2497 shares
    Share 1056 Tweet 600
masterlatif.com

Bisnes Online | Kesihatan & Kecantikan | Nutrisi & Vitamin | Tutorial & Review

Contact Me Here :

Like | Follow | Subscribe

  • 8.2k Fans
  • 2.2k Followers
  • About
  • Contact
  • Advertise
  • Privacy & Policy

© 2021 masterlatif.com

No Result
View All Result
  • KESIHATAN & KECANTIKAN
  • NUTRISI & VITAMIN
  • TUTORIAL & REVIEW
  • PELUANG BISNES
    • SHAKLEE
  • PROJEK

© 2021 masterlatif.com

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In