Question

How to diagnose a PHP-FPM time-out problem on 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 https://github.com/sdc395/do-wordpress-app.git 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 Simon

Subscribe
Share

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Well, having raised a ticket with DO’s support people, it seems there’s a known problem with Nginx on App Platform. I substituted Apache and Lighttpd for Nginx, and both worked without issue.

Hopefully DO will soon find a solution to the Nginx problem.

I never got an answer to the ptrace question.