This implies your htaccess directive isn’t getting effectively executed.
The comment says “Increase FPM max response time” yet the directive is checking for mod_php7.c. So are you running PHP as php-fpm or mod_php?
If you’re running PHP as php-fpm (or something else entirely), then the IfModule check will return false, and the directive will be ignored.
And if you’re running mod_php, then this might be the root of your problem, as this is unarguably the slowest way to run PHP. Switching to FPM might solve your problem at the source and negate the need to increase the PHP max_execution_time value.
Returning to your .htaccess rule, since we’re absolutely sure we’re running PHP (else WordPress wouldn’t work at all), there’s no need for the IfModule check, so you can replace the entire block of code with just:
php_value max_execution_time 600
Alternatively, you can let WordPress handle this, by adding the following in your wp-config.php file:
set_time_limit(600);
Good luck!
I’ve heeded the choices that you’ve provided & decided that I should let WordPress handle the configuration to be safe. I’ve made the amendment in wp-config.php. Will be monitoring it from now.
I have much to learn, and I’m thankful that you’ve offered a helping hand, and explained it to me. Thank you so much, @gappiah.