What potential modules or configurations in Apache could lead to PHP files being downloaded?
If Apache is not configured to handle PHP files properly, they may be downloaded instead of being executed. This issue can occur if the PHP module is not enabled or if the AddType directive for PHP files is missing from the Apache configuration. To solve this issue, ensure that the PHP module is enabled and the AddType directive is correctly configured in the Apache configuration file. ```apache <IfModule php7_module> AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule> ```