Joomla PHP does not match host PHP

Joomla Asked on February 18, 2021

I’m brand new to web development and I’ve installed Joomla on my website. For whatever reason I can hardly do anything because my PHP version is only 5.3 according to Joomla.

However, using my cpanel I changed the PHP to 5.5.

How do I get Joomla to update the PHP version?

Additional info:
This is what it looks like, I don’t understand why Joomla has a different php version.Below is also the error message I see when I try to install a template package.

enter image description here

2 Answers

As others mention, Joomla does not install nor update PHP, it simply reports the version of PHP available.

It's possible that your .htaccess file contains instructions to set PHP version. This is quite common, but the exact code varies depending on your hosting company, but it usually looks something like this:

AddHandler application/x-httpd-php53 .php .php5 .php4 .php3

Look for this line in your .htaccess file, and comment it out (add # before the line) if you find it. Note that there can be several instances of .htaccess on your account, in different folders.

You can also check your PHP versions by creating a new .php file (call it anything you like), and put the following code inside to show information about your PHP settings:


Save, and visit the file in your browser, (e.g. Try moving the file to different folders, and see if the PHP version changes.

Make sure you remove the file when you're done testing, for security reasons.

Correct answer by johanpw on February 18, 2021

Depending on the type of hosting and the hosting provider, it's possible to adjust the php version for your account through .htaccess - so my guess is that your htaccess file may contain such directives.

So go check your .htaccess file for entries like:

AddHandler application/x-httpd-php53 .php

or something like this if you are with GoDaddy:

AddHandler x-httpd-php5-3 

Remove or comment out these lines using '#' in front of them like:

#AddHandler application/x-httpd-php53 .php

In addition, using the same, you could try setting the desired php version so:

AddHandler application/x-httpd-php55 .php

could switch you to PHP 5.5.

Anyway, if you can't solve it, I would recommend to contact your hosting provider to assist you with this.

Answered by FFrewin on February 18, 2021

Add your own answers!

Related Questions

Add field to menu settings to output open graph image

1  Asked on December 30, 2021 by mano-meter


Edited css not updated in XAMPP

1  Asked on December 9, 2021 by advait-varma


Update from 3.9.x to 4.x

2  Asked on November 27, 2021 by lovntola


Other files overriding my template css with bootstrap?

1  Asked on November 19, 2021 by matthiasdunkel


Javascript accordion with anchors for joomla

1  Asked on November 5, 2021 by fruit_alchemist


Cannot Connect To MSSQL Server

3  Asked on September 5, 2021 by jamesmandatory


PlotALOT RSForm Query showing only one result

1  Asked on September 5, 2021 by gart


Getting module parameters in AJAX call using module id

1  Asked on September 5, 2021 by user1616338


Pop up AcyMailing subscription form

1  Asked on September 5, 2021 by ygiorgos


Override 3d party extension plugin method

0  Asked on September 5, 2021 by dmitry-zar


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP