Title: Differences in methods to increase PHP and WordPress memory?
Last modified: August 19, 2016

---

# Differences in methods to increase PHP and WordPress memory?

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/differences-in-methods-to-increase-php-and-wordpress-memory/)
 * What are the differences in the methods of increasing memory for php and WordPress?
   And what is preferred?
 * I assume the best choice is increasing memory in php.ini, if that file is accessible.
   But after that: is increasing in .htaccess better than in wp-config.php? Or in
   wp-settings.php? Do server settings have any play in the matter?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [nabtron](https://wordpress.org/support/users/nabtron/)
 * (@nabtron)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/differences-in-methods-to-increase-php-and-wordpress-memory/#post-1283090)
 * wp-settings.php is better
 *  [lesliekirk](https://wordpress.org/support/users/lesliekirk/)
 * (@lesliekirk)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/differences-in-methods-to-increase-php-and-wordpress-memory/#post-1283136)
 * May I ask, why is using the wp-settings.php better? I have used the wp-config.
   php method because I don’t have access to the php.ini file. Would that be why?
 *  [carmeljune](https://wordpress.org/support/users/carmeljune/)
 * (@carmeljune)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/differences-in-methods-to-increase-php-and-wordpress-memory/#post-1283163)
 * Is there any answer to this? I couldn’t find a memory limit in wp-settings.php.
   So I don’t know if I should add a line or go somewhere else. I have version 3.0.1
   of wordPress.
 *  [carmeljune](https://wordpress.org/support/users/carmeljune/)
 * (@carmeljune)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/differences-in-methods-to-increase-php-and-wordpress-memory/#post-1283164)
 * I am unable to automatically install any upgrades because I get the “Fatal error:
   Allowed memory size of …” error. I have tried increasing memory limits all over
   the place … none work! Apparently you can make your own php.ini file and put 
   it into any folder … but it still doesn’t work (for me).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Differences in methods to increase PHP and WordPress memory?’ is closed
to new replies.

## Tags

 * [Increase](https://wordpress.org/support/topic-tag/increase/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [carmeljune](https://wordpress.org/support/users/carmeljune/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/differences-in-methods-to-increase-php-and-wordpress-memory/#post-1283164)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
