Quantcast
Viewing all articles
Browse latest Browse all 2

change php version using .htaccess in cpanel is not working

I am trying to change the php version in my server using htaccess. I am following this question's answer how to change php version in htaccess in server But did not work for me. When I entering my project, it's downloading a file. Would someone help me to solve this issue, please? Here is by .htaccess bellow-

<IfModule mod_rewrite.c>   AddHandler application/x-httpd-php71 .php   RewriteEngine On   RewriteBase /   RewriteRule ^index\.php$ - [L]   RewriteCond %{REQUEST_FILENAME} !-f   RewriteCond %{REQUEST_FILENAME} !-d   RewriteRule . /index.php [L]</IfModule>

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>