I have an intermittent 503 error slow PHP code...

April 6, 2019 307 views
PHP

On one of my sites that share a droplet, I have an intermittent 503 error that is suggesting slow PHP code...

Where do I find my logs and how can I see that plugin might be at fault?

Alternatively, is there a way to start a fresh WP installation, copy my content and then begin to re-stall theme and plugins etc.

Thanks, Andrew

2 Answers

If an error is thrown you should be able to see the info in your error logs, Apache will usually place these in the same folder as the file that produced the error or if you are running just NGINX then you can look in /var/logs/nginx/error.log

If you just want to move to a new server -- https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-18-04

Skip the wordpress 5 min in stall process in favor of importing your DB from the old site - as well copy and replace the wp-content directory from the old installs to your new one.

the process is pretty much this -- https://www.digitalocean.com/community/questions/wordpress-website-migration-from-hostgator-to-digital-ocean

by Justin Ellingwood
WordPress is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MySQL backend with PHP processing. WordPress has seen incredible adoption and is a great choice for getting a website up and...

Hi Jason,

Thanks for your reply.

I am afraid that "Apache will usually place these in the same folder as the file that produced the error or if you are running just NGINX then you can look in /var/logs/nginx/error.log" is a foreign language to me.

I will have to look for someone who can help I think.

Andrew

Have another answer? Share your knowledge.