Question

I'am getting this:

Your host needs to use PHP 5.3.1 or higher to run this version of Joomla!

when trying to run Joomla 3.1.1 on PHP 5.2...

My webspace provider could not make any php(5.3) upgrade at the moment.

I add

# Use PHP 5.3
AddType application/x-httpd-php53 .php

to my htacess.txt file but nothing

How can i run joomla 3 on php 5.2?

Was it helpful?

Solution

You can't run it on PHP 5.2.

But what you can do it find a better host that keeps PHP updated.

OTHER TIPS

Joomla 3.x requires PHP 5.3.1 or higher to work properly but if your host offers an updated version of PHP, you can easily override the default PHP version with an htaccess rule.

The filename should be .htaccess.

  • Connect to your site with FTP or File Manager
  • Create a file named htaccess.txt
  • Paste the following line into it:

Code:

AddType application/x-httpd-php53 .php
  • Rename it to .htaccess.

If it doesn't work, you might want to change register_globals in your php.ini to off.

I hope this helps.

You cant, it most likely uses 5.3 specific features so what you are asking is impossible. YOu need to upgrade to 5.3

Joomla requires 5.3 or higher because it's accessing features not found in older versions of PHP. It's not an issue of merely trying to pretend you have 5.3 or lying to Joomla.

Some webhosts might actually have a newer PHP installed, but it's not using it by default. If you search the help there might be a trick to enable 5.3 or newer on your site. If your host isn't offering 5.3 at all, it's time to find a new host. And while you are looking for a new host, get one that's running a recent build of 5.4.x because even 5.3 is now considered old.

Your htaccess file name should be .htaccess not htaccess.txt

Secondly, your host has to have that application type registered.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top