Website reads wrong PHP Version
I have a client that has a joomla website that says PHP Version 5.6.30 and not PHP Version 7.
PHP 7 is the default version and is active on the website but some wierd reason it is using PHP 5.6.
How do I fix this issue?
-
Hello, Could you let us know the contents of the .htaccess file in the account's home directory and the document root of the website? Ensure to exclude actual domain names and IP addresses. Thank you. 0 -
The base Joomla .htaccess file below ## # @package Joomla # @copyright Copyright (C) 2005 - 2015 Open Source Matters. All rights reserved. # @license GNU General Public License version 2 or later; see LICENSE.txt ## ## # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE! # # The line just below this section: 'Options +FollowSymLinks' may cause problems # with some server configurations. It is required for use of mod_rewrite, but may already # be set by your server administrator in a way that disallows changing it in # your .htaccess file. If using it causes your server to error out, comment it out (add # to # beginning of line), reload your site in your browser and test your sef url's. If they work, # it has been set by your server administrator and you do not need it set here. ## # locked htaccess file order allow,deny deny from all ## No directory listings IndexIgnore * ## Can be commented out if causes errors, see notes above. ##Options +FollowSymlinks ##Options +MultiViews Options -Indexes ## Mod_rewrite in use. RewriteEngine On ## Begin - Rewrite rules to block out some common exploits. # If you experience problems on your site then comment out the operations listed # below by adding a # to the beginning of the line. # This attempts to block the most common type of exploit `attempts` on Joomla! # # Block any script trying to base64_encode data within the URL. RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] # Block any script that includes a0 -
Hello, It looks like PHP 7 is properly enabled in the .htaccess file. Could you upload a PHPINFO file to the account and verify if it also shows PHP 5.6 as the PHP version? Thanks. 0 -
Hello, It looks like PHP 7 is properly enabled in the .htaccess file. Could you upload a PHPINFO file to the account and verify if it also shows PHP 5.6 as the PHP version? Thanks.
PHP Info File reads PHP Version 5.6.300 -
PHP Info File reads PHP Version 5.6.30
Hello, Are you using CloudLinux with PHP Selector? If not, feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you.0 -
I am not using CloudLinux. I will try couple ideas before submitting a support ticket 0 -
Hi, I am having the same problem. The default whm set 5.6, and my website cpanel is set 7.1 but phpinfo of mywebsite still showing 5.6. I checked .htaccess and .user.ini both showing 7.1 So how do i fix this? Thank you so much for your help 0 -
Hi, I am having the same problem. The default whm set 5.6, and my website cpanel is set 7.1 but phpinfo of mywebsite still showing 5.6. I checked .htaccess and .user.ini both showing 7.1 So how do i fix this?
Hello, Could you let us know the contents of the .htaccess file within the document root of the affected website? Thank you.0 -
Hi, I am having the same problem. Thank you so much for your help 0 -
I am having the same problem.
Hello @jice004, Can you provide the step-by-step instructions of how you are reproducing the issue? Do you have root access to the server? Thank you.0
Please sign in to leave a comment.
Comments
10 comments