TurnKey Linux Virtual Appliance Library

Drupal 6 - php5.3 to php 5.2 downgrade

i've downloaded the newest drupal 6 appliance this week. but php 5.3 causes a lot of problems with most of the modules i use.

how can i downgrade to php5.2

 

greetz

Jeremy's picture

No easy way to downgrade

The most reliable way would be to compile php5.2 from source, but that will also mean that you will need to take care of your own security updates manually (and will most likely mean a recompile every time).

The other option is to use another repo which has php5.2 (such as Karmic). In some repects this may be an easier solution but there are potential pitfalls. I would suggest you do a bit of research, google will give you plenty of leads and Ubuntu forums are indespensible. (FYI TKL v11.x is based on Ubuntu Lucid/10.04).

Jeremy's picture

If you wish to use Drupal 6 with php 5.2

Probably the most reliable option is to use the Legacy TKL Drupal 6 appliance. TKL legacy images are based on Ubuntu Hardy/8.04 which is still supported by Cannonical with security updates to packages from the main and security repos until April 2013.

Generally any solution to use php 5.2 with Ubuntu 10.04 (the basis of TKL v11.x) will involve some sort of hack. All of these require tradeoffs that mean reduction in end user reliability and/or security and/or maintenance complexity. That is fine if you are willing to personally take responsibilty for it, but as TKL is aimed at a really broad audience (from newbs that may not understand the consquences and associated responsibility), some could argue that it would be negligent for TKL devs to produce appliances with these sort of compromises.

OTOH one of the greatest things about Linux IMO is the freedom to do what you want, so if you have a hack/solution to use php 5.2 in TKL v11.x (Ubuntu 10.04) then please feel free to post it so others can follow your lead.

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)