Add handler PHP reverting back to 7.0
-
Hi, Are there any known issues with Really Simple SSL overwriting a PHP version? I keep setting my PHP to 7.4 and when I update my site it keeps reverting back to 7.0.
I found (AddHandler application/x-httpd-ea-php70 .PHP) in the .htcaccess file that seems to be overwriting my PHP version back to 7.0.
When I comment it out it goes back to 7.4. Is that line suppose to be there?
# BEGIN rlrssslReallySimpleSSL rsssl_version[3.3]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
# END rlrssslReallySimpleSSL
# BEGIN WordPress
# The directives (lines) betweenBEGIN WordPressandEND WordPressare
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
AddHandler application/x-httpd-ea-php70 .php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
The topic ‘Add handler PHP reverting back to 7.0’ is closed to new replies.