I was working with DirectAdmin and this time it was set to use suPHP (for some weird reason). Anyway, when trying to run a PHP script from the Drupal site, it returned an error: “Script timed out before returning header”.
Looks like suPHP ignores php.ini, so I needed to increase the timeout in Apache configuration, with the following steps:
Now, update the following line:
To your own value:
Don’t forget to restart apache:
systemctl restart httpd