TurnKey Linux Virtual Appliance Library

How to upgrade php and mysql on turnkey

vallontrt's picture

Hi all,

I'm new with Linux, I have to upgrade Joomla installed on a Turnkey.

When I upgraded Joomla, a backup component asked me to upgrade php to version 5.3 or later.. I'm using version 5.2.x now.. I tried apt-get upgrade but didn't installed what I want.

Could someone help me please?


Jeremy Davis's picture

You must be using a very old appliance

It is not easily possible to install php v5.3 into an old appliance that does not support it OOTB (it is possible, but not advised - lot's of work, lots of risk of breaking stuff and lots of maintenance headaches for the future...)

I suggest that you upgrade to the newest appliance - v12.0. It has php v5.3. In fact the Joomla appliance has v2.5 of Joomla.

You could try migrating using TKLBAM, but you may need to tweak some stuff to get it to work. There are proabably other options for data migration too (but I don't use Joomla so I have no idea...)

Andy's picture

One way of upgrading could be

One way of upgrading could be installing the new appliance and then copying your Joomla folder from the old appliance to the new version. After that you export your joomla database with phpmyadmin on your old appliance and import it on the new one. This works only if both Joomla versions are the same.

Doing a Joomla update (i.e. 1.6 to 1.7 or 2.5) this way is not recommended because the table structure may change.

Don't forget to reconfigure apache too (or backup + restore configuration).


Which Joomla version are you using?

If you want to upgrade Joomla, check the Joomla documentation:



Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)