PHP files downloading instead of running? |
.htaccess file contents
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] # Use PHP 5.4 AddHandler application/x-httpd-php54 .php Options -Indexes When i am deleting the .htaccess file php project opens it home page. but not working any other page like admin, users etc. But when I am putting the .htaccess file to the folder a file is downloading autometically instead of running. Please help me. Sk Sabbir Ali |
Messages In This Thread |
PHP files downloading instead of running? - by sksabbirali - 06-13-2018, 02:18 PM
RE: PHP files downloading instead of running? - by InsiteFX - 06-14-2018, 03:22 AM
RE: PHP files downloading instead of running? - by Pertti - 06-19-2018, 01:04 PM
RE: PHP files downloading instead of running? - by sksabbirali - 06-19-2018, 10:51 PM
RE: PHP files downloading instead of running? - by Pertti - 06-20-2018, 12:47 AM
|