Solved: Fatal error: Allowed memory size of 33554432 bytes exhausted Godaddy VPS
I have purchased the Godaddy Economic Linux Hosting w/ Cpanel and tried to install the Bridge WordPress from Themeforest.
However I got this error when I tried to activate the plugins:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/pangko/public_html/wp-admin/includes/menu.php on line 65
I did my research which lead me to changing my wp-config.php by adding this line at the bottom:
define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
Change memory limit PHP Godaddy VPS
- Login to your godaddy account
- Go to your server
- Go to your WHM
- Under “Service Configuration” find “PHP Configuration Editor”
- Find “memory_limit” and change the number from default 32M to whatever you want, but 64M is usually good enough.
- Additionally you might want to change “upload_max_filesize” from 2M to 10M so you can upload large files to your sites.