Answer the question
In order to leave comments, you need to log in
Why does Apache download php files?
I installed everything according to this manual https://www.digitalocean.com/community/tutorials/h...
To check, I used the form from here https://www.php.net/manual/en/tutorial.forms.php
PHP file is not opens and downloads
PhpInfo works
If you log in via IP 127.0.0.1/action.php the file opens
If you just open it - no
Answer the question
In order to leave comments, you need to log in
This is a crooked manual. Search with php-fpm, mod_ruid2, mpm-itk or FastCGI.
<IfModule !php5_module>
<FilesMatch "\.php$">
Order allow,deny
Deny from all
</FilesMatch>
</IfModule>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question