Hi,
I have migrated my website from Bitnami (Ubuntu server) to aaPanel Ubuntu server (same server specifications). On aaPanel, I am using PHP 8.1 and Apache. I have also installed OPcache, but the website is still slow. Additionally, whenever I open the website, I have noticed that the CPU usage spikes to 99%.
I tried switching to Nginx with cache, but the performance remains the same.
I am using cache plugins as well, but the website is still slow. Sometimes, the website goes down, and I have to restart PHP and Apache.
Do you have any suggestions on how to improve the performance?