For example: I create a Link to PHP script file to file.php <?php echo 'exaple'; ?>
. When I open file online I get the PHP script not exaple. If I open file.php I get exaple.
I have tried if .htaccess works. I made file.html <?php echo 'exaple'; ?>
. And .htaccess:
<IfModule mod_rewrite.c>
AddType application/x-httpd-php .html
</IfModule>
When I open file.html I get exaple.
I have tried the same way to get file working:
AddType application/x-httpd-php
AddType application/x-httpd-php *
AddType application/x-httpd-php file
AddType application/x-httpd-php ^ (.*)$
AddType application/x-httpd-php ^ (.*)
AddType application/x-httpd-php ^ (.)
AddType application/x-httpd-php ^.
No succes. How can I get this runnig?