Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
share|improve this question

closed as off-topic by Ward, kasperd, masegaloeh, Katherine Villyard, Hyppy Apr 19 '15 at 17:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 4 down vote accepted

apt can't upgrade what it didn't install. You would run into the same problem if you downloaded PHP directly from 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.

share|improve this answer
StackScripts is a batch script, it use apt to download PHP, Apache and MySQL. – I'll-Be-Back Mar 16 '12 at 17:42
In that case, have a look in your /etc/apt/sources.list. It may be that the repositories you are using don't have anything more recent than PHP 5.3.2. – Ladadadada Mar 16 '12 at 17:52
ubuntu repository doesn't have the latest version of PHP. so I might have to download from – I'll-Be-Back Mar 16 '12 at 18:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.