Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
add comment

1 Answer

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 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.

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 PHP.net –  I'll-Be-Back Mar 16 '12 at 18:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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