Title: Problem with php
Last modified: March 9, 2024

---

# Problem with php

 *  [robertorg2025](https://wordpress.org/support/users/robertorg2025/)
 * (@robertorg2025)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/problema-with-php/)
 * Hello I have this error at php
 * [php:error] [pid 14] PHP Fatal error: Allowed memory size of 536870912 bytes 
   exhausted (tried to allocate 20480 bytes) in /mnt/public/wp-includes/class-wpdb.
   php on line 2320
   [php:error] [pid 14] PHP Fatal error: Allowed memory size of
   536870912 bytes exhausted (tried to allocate 20480 bytes) in /mnt/public/wp-includes/
   class-wp-fatal-error-handler.php on line 74
 * I have limit of memory 512 mb and I can’t upgrade this limit. I was reading at
   some forums but I can’t found solutions.
 * Thanks
    -  This topic was modified 2 years, 2 months ago by [robertorg2025](https://wordpress.org/support/users/robertorg2025/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblema-with-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/problema-with-php/#post-17486556)
 * How did you increase the value? Does it really work? Depending on the hosting,
   you may have to adjust the value in several places, including in WordPress. See:
   [https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/](https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/)
 * If you still have the option, deactivate individual plugins as a test to rule
   them out as the cause.
 *  Thread Starter [robertorg2025](https://wordpress.org/support/users/robertorg2025/)
 * (@robertorg2025)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/problema-with-php/#post-17491662)
 * I can´t change the php limit… can give me other options please ?
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/problema-with-php/#post-17491740)
 * As already written above:
 * > If you still have the option, deactivate individual plugins as a test to rule
   > them out as the cause.
 *  Thread Starter [robertorg2025](https://wordpress.org/support/users/robertorg2025/)
 * (@robertorg2025)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/problema-with-php/#post-17492057)
 * When you say “test”, you say me that active one per one and check what plugin
   is the highest demand resources ?
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/problema-with-php/#post-17492067)
 * That’s exactly what I meant. So you can find out which plugin could be the cause.

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

The topic ‘Problem with php’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/problema-with-php/#post-17492067)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
