Hi Dan, thanks as always for your time and eyes on this.
I think I've tracked the problem down to the nginx server block. It looks as though the migrators were having trouble getting Nginx and PHP to play together as they'd added this code:
location ~ \.php(/|$) {
try_files $uri $fastcgi_script_name =404;
#try_files $uri /index.php?$args;
fastcgi_pass unix:/var/php-nginx/162973199796742.sock/socket;
}
fastcgi_split_path_info ^(.+\.php)(/.+)$;
location / {
try_files $uri /index.php?$args;
}
In the course of fixing it, I've come to understand that the AtoM documentation for php-fpm is fairly clear about only requiring the last code block for the virtual server to work.
I can see in the Nginx documentation that it advises a different method for serving PHP files, so it's a small source of wonder that all you need in the block is:
location / {
try_files $uri /index.php?$args;
}
and that's it!
Took me a while to figure this out so no disrespect to someone coming at it from first principles.
Keep up the great work :)
Grant