How Can I Increase the WordPress Memory (ram) Limit?

When you use WordPress for professional purposes you need a lot of plug-ins. Ideally, it does not exceed 10-15 additions. Because so many plug-ins so database table means. This causes the script to be very slow. The P3 Plugin Performance Profiler plug-in lets you know what slows down. You can download the WP-Memory-Usage plug-in to find out how much memory you need. Of course, I suggest you delete it after you're done. There is no need to install dozens of add-ons.

There are several ways to increase memory. If you have a host panel,there is a setting page where PHP settings or limits can be changed. You can do this from there.

What else can you do

Access your site files with your FTP account. Find the wp-config.php file in the main directory. If you are a beginner in WordPress, make a backup of this file. “Note ++ pad ği to edit the file after receiving the ackup. Use applications. At the top of the encoding başında <php> immediately 1-2 sub-lines.

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

Add the line. You can make 128M or 256M according to the status of your server or host. My system is set to 256M.

Another method is;
You can do this by adding the "php_value memory_limit 64M" code to the .htaccess file in the main directory. Again novice users should take a backup of the htacces file.

Another method is to add the php.ini file by connecting to the wp-admin folder via FTP.

Open a blank notepad file. Add that value to the following or how many mb ram will be set. Save as php.ini. It will register as php.ini.txt from the computer. When you delete the txt extension in the file name after you discard it in the wp-admin folder, the php.ini file will become operational.

memory_limit 256M

You can use the same file for other purposes. Some themes work correctly on certain php values. You can add codes that specify php limits as follows.

Bunu da okuyabilirsiniz  The smallest 10 countries


php_value max_input_vars 3000
php_value suhosin.get.max_vars 3000
php_value 3000
php_value suhosin.request.max_vars 3000


1981/Mersin doğumlu, Harita Mühendisi, Araştırmacı-Yazar, Gayrimenkul Değerleme Uzmanı, Kitap: Orta Dünyanın Analizi HKMO, İçel Sanat Kulübü,