Home > Vesta > Vesta Control Panel 0.9x, WordPress and Allowed memory size of 33554432 bytes exhausted

Vesta Control Panel 0.9x, WordPress and Allowed memory size of 33554432 bytes exhausted

PHP has a memory limit of 128MB in a default install of Vesta Control Panel.

However should you run wordpress in HTTPS, you will find yourself at the mercy of the allowed memory size error and all the fixes in the world does not fix this.

These solutions include

  • Create a php.ini in the public_html folder and add memory_limit = 128M
  • Edit wp-settings.php and add define("WP_MEMORY_LIMIT", “128M”);
  • Create a .htaccess file in the public_html folder and add php_value memory_limit 128M

This is because for HTTPS, vesta uses another file which overrides all of these settings.

You can find this file inside /home/[user]/conf/web/shttpd.conf

Inside this file, search for php_admin_value memory_limit 32M and either remove it or put it a value that is acceptable to you.

Categories: Vesta
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: