Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#29695 closed defect (bug) (invalid)

Increase allowed memory

Reported by: philhulett's profile philhulett Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Administration Keywords:
Focuses: Cc:

Description

I am attempting to test a site locally using XAMPP...everything is going great pn the install, except when I try to upload a new theme. I get this error message:

Warning: POST Content-Length of 88112507 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

I attempted to remedy this by adding the following lines to the wp-config file:

define( 'WP_MAX_MEMORY_LIMIT', '900M' );

I logged out and back in again. No change.

Any ideas?

Thanks

Phil

Change History (5)

#1 follow-up: @SergeyBiryukov
10 years ago

It's not memory_limit, it's post_max_size value you need to increase.

#2 in reply to: ↑ 1 @philhulett
10 years ago

Replying to SergeyBiryukov:

It's not memory_limit, it's post_max_size value you need to increase.

Thank you Sergey. I just tried your suggestion but there is no change. Perhaps I should place the line in a specific place in wp-config?

#3 follow-up: @SergeyBiryukov
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Please try the support forums: https://wordpress.org/support/.

#4 in reply to: ↑ 3 @philhulett
10 years ago

Replying to SergeyBiryukov:

Please try the support forums: https://wordpress.org/support/.

Thank you again. I'll search for a 4.0 solution. I haven't seen a dialogue regarding this issue that is newer than vers 3.5 yet. I'll keep looking.

#5 @SergeyBiryukov
10 years ago

wp-config.php would be too late, see a comment on php.net. Try setting it via php.ini or .htaccess.

Note: See TracTickets for help on using tickets.