Obsolete PHP version is not reported
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Obsolete PHP version is not reported
Hi,
I am using Joomla 4 as superuser administrator. When I start the background there is no error message shown
that the PHP version is obsolete.
Thank you for help!
I am using Joomla 4 as superuser administrator. When I start the background there is no error message shown
that the PHP version is obsolete.
Thank you for help!
- JAVesey
- Joomla! Hero
- Posts: 2637
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Obsolete PHP version is not reported
Is there a question here? What is it that you need help with?
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
- toivo
- Joomla! Master
- Posts: 17446
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Obsolete PHP version is not reported
Which version of PHP does the web server have? What does Joomla report, when you go to System - Information - System Information - PHP Information?
Go to Plugins and search for 'PHP'. Is the plugin 'Quick Icon - PHP Version Check' enabled?
Go to Plugins and search for 'PHP'. Is the plugin 'Quick Icon - PHP Version Check' enabled?
Toivo Talikka, Global Moderator
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
Hi,
the plugin PHP Version Check' enabled. It seems that this plugin sets PHP to a valuable version independently of
which version the web server has. Is this interpretation correct?
the plugin PHP Version Check' enabled. It seems that this plugin sets PHP to a valuable version independently of
which version the web server has. Is this interpretation correct?
- toivo
- Joomla! Master
- Posts: 17446
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Obsolete PHP version is not reported
That interpretation is not correct. The plugin reports the version of PHP that Joomla is running under, as assigned by the configuration of the web server.
Toivo Talikka, Global Moderator
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
It's a bit curious that the webserver has PHP-version 8.0.30 (which is outdated) and the system information says 8.1.27.
- toivo
- Joomla! Master
- Posts: 17446
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Obsolete PHP version is not reported
Check the file .htaccess in the main Joomla folder. Some hosts add directives there to load a particular version of PHP.
Toivo Talikka, Global Moderator
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
The htaccess is made by akeeba.admintools.
What shall I check in the htaccess?
What shall I check in the htaccess?
- Per Yngve Berg
- Joomla! Master
- Posts: 30945
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Obsolete PHP version is not reported
You are not comparing the CLI php version with the one run by the web server? They may be different.
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
I have deleted the .htaccess in my FTP. The result is quite the same: In backend system/system information the version of PHP is a valuable one (8.1.27) though the webserver has PHP-version 8.0.30 (which is outdated).
- JAVesey
- Joomla! Hero
- Posts: 2637
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Obsolete PHP version is not reported
You will have a file called htaccess.txt in your Joomla root directory. This will be the one which came with your current Joomla version. Rename it to .htaccess otherwise your SEF URLs won’t work.
There is nothing in this htaccess.txt which will interfere with the PHP version that your site is running.
Have you checked the content of other .htaccess files, e.g. in your /administrator folder? It’s possible that there’s a directive in other .htaccess files.
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
As I mentioned above: I have deleted the .htaccess in my FTP. The result is quite the same: In backend system/system information the version of PHP is a valuable one (8.1.27) though the webserver has PHP-version 8.0.30 (which is outdated).
- JAVesey
- Joomla! Hero
- Posts: 2637
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Obsolete PHP version is not reported
I think you might have misunderstood. You could have more than one .htaccess file, including one in the /administrator folder inside your Joomla root directory. It could be that the reported php version and the one that you’re running are different.
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
I have two htaccess-files one as htaccess.txt and one as .htaccess.
You do not have the required permissions to view the files attached to this post.
- AMurray
- Joomla! Exemplar
- Posts: 9747
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Obsolete PHP version is not reported
Delete the existing .htaccess file. Rename htaccess.txt to .htaccess which is what @JAvesey stated above.
Regards - A Murray
General Support Moderator
General Support Moderator
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
It's not working: on the webserver the version is 8.0.30 (outdated) and joomla system information says version is 8.2.16
- Per Yngve Berg
- Joomla! Master
- Posts: 30945
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Obsolete PHP version is not reported
Where do you see the 8.0.30?
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
sorry but I mentioned it just before: on the webserver the version is 8.0.30 (outdated)
- toivo
- Joomla! Master
- Posts: 17446
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Obsolete PHP version is not reported
How do you know this? Did your host tell you that? Or do you have full access to the server?
If you can run a command in the shell that displays the version of PHP, it is the Command Line Interface (CLI) version of PHP, which can be different from the version of PHP installed in the web server. Joomla uses the version of PHP integrated with the web server, not the CLI version.
Toivo Talikka, Global Moderator
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
I have full access to the server.
and can choose the PHP version:
The Joomla system information shows.
and can choose the PHP version:
The Joomla system information shows.
You do not have the required permissions to view the files attached to this post.
- JAVesey
- Joomla! Hero
- Posts: 2637
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Obsolete PHP version is not reported
Your site will be running under PHP 8.2.16, as Joomla reports.
What happens when you select 8.2.16 on the server?
What happens when you select 8.2.16 on the server?
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
-
- Joomla! Intern
- Posts: 57
- Joined: Sun Feb 12, 2006 9:29 pm
Re: Obsolete PHP version is not reported
Same result.