How to diagnose a PHP-FPM time-out problem on App Platform

Posted November 24, 2021 87 views
NginxPHPWordPressDigitalOcean App Platform

Hi all

I’ve been attempting to deploy a proof-of-concept Wordpress app to DO’s App Platform. At first glance, everything seems to work, but eventually, a request will time-out. I’ve done my best to find the problem myself but I’m no PHP-FPM/Nginx/Wordpress expert and I could really use some help. The problem occurs regardless of the size of the Droplet involved.

Could someone deploy my app from and see if they can figure it out. I’ve set up PHP-FPM and MySQL query logging (see /var/log) and you should soon find a report of a time-out in /var/log/php7/error.log. If not, try multiple reloads of Wordpress’s “new post” page.

It seems things would be easier if ptrace were available for PHP backtraces. Is it possible to enable ptrace on App Platform?

Many things in advance

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!