php version in WP differs from server installed version
-
I have been getting a warning that the installed php is 7.3.33 and not up to date. In the hosting (TSOhost) server cPanel I have changed the version to 7.4 and this is showing correctly on their pages as the currently installed version, but I am still getting the warning on teh WP dashboard. The start of the .htaccess file reads as follow (this help site has reformatted the text and taken out some presumably unpermitted stuff such as returns and angle brackets) but roughly:
—–
Options +Indexes
IndexIgnoreReset ON
IndexIgnore cgi-bin
IndexOptions SuppressColumnSortingAddHandler application/x-httpd-alt-php74___lsphp .php
#Block WordPress xmlrpc.php requests
Files xmlrpc.php order deny,allow deny from all /files order deny,allow deny from all
SuPHP_ConfigPath /home/kv03h09vouj7/public_html/php.iniRewriteEngine On RewriteBase / RewriteRule ^index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
AddHandler application/x-httpd-alt-php73___lsphp .php#BEGIN WordPress……
—–
So I have both the old and new php versions have Addhandler lines. Is it the order in which these are loaded? Should there only be the one (74)? Anything else I’m not aware of? Thanks
(and is there any way to get a plain text editor here?!)
The topic ‘php version in WP differs from server installed version’ is closed to new replies.