Answer the question
In order to leave comments, you need to log in
Why php is not executed, but the contents of the file are displayed on the screen?
I set up a server on Centos7, the php content is displayed on the screen. How to win?
<IfModule php7_module>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question