-5

I have a VPS account from Linode.

I've installed Ubuntu 10.04 LTS with 'LAMP Stack' (StackScript).

How to upgrade the latest version of PHP version 5.3.10 from PHP 5.3.2?

I have even tried apt-get and it doesn't update.

apt-get update
apt-get upgrade
I'll-Be-Back
  • 693
  • 3
  • 10
  • 25
  • 1
    http://serverfault.com/questions/369399/how-to-install-a-newer-version-of-php-as-a-package/369400#369400 – Zoredache Mar 16 '12 at 17:29

1 Answers1

5

apt can't upgrade what it didn't install. You would run into the same problem if you downloaded PHP directly from php.net and compiled it yourself... apt still wouldn't upgrade it for you.

You can either use the upgrade path that Linode StackScripts provide. (I wasn't able to find one by browsing their website.) or you can uninstall the StackScripts version of PHP and use apt to install the one you want.

I have no idea how StackScripts will handle not being in control of PHP. You may want to uninstall StackScripts entirely and install Apache, MySQL and PHP through apt instead.

If you have more Linode-specific questions, you may find more expertise over in their forums or IRC channel.

Ladadadada
  • 26,337
  • 7
  • 59
  • 90