Droplets for 50k wordpress
Hi, i have a big wordpress site, almost 45k pages, i have a problem i get error "
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /srv/users/serverpilot/apps/wordpress/public/wp-includes/taxonomy.php on line 3825"
so my question what i need to setup to run this website on my droplet, right now i go from option 10 usd to 20 usd.
i setup a swap file for 4gb i need give more memory for php mysql or both ?
from wodpress plugin "Show WordPress Queries - Query Interface"
SELECT poststatus, COUNT( * ) AS numposts
WHERE posttype = 'page'
GROUP BY post_status
is a "slow queries"
my memory limit in php.ini
memory_limit -1 256M
tnx for help.