How to install PHP 4.4 on Ubuntu?

How do I install latest PHP in supported Ubuntu versions (like 5.4.x in Ubuntu 12.04)?

kavisiegel at Ask Ubuntu Visit the source

Was this solution helpful to you?

Other answers

It will take some time for PHP 5.4 packages to make their way into Ubuntu, as there are an awful lot of dependency checks to do. Ubuntu 12.04 is now in beta so I doubt they'll upgrade it to PHP 5.4 (although I have no official or inside knowledge of this) -- it probably won't appear until Ubuntu 12.10 in October this year. If you want it sooner than that, you'll either have to find a third-party package or learn to build it yourself from the source code.

Mike Scott

Here's what I understand that you have to do (Type these commands in the terminal): curl http://apt.damz.org/key.gpg | sudo apt-key add - Someone asked about PPAs and Ubuntu ( http://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them ), and they share how to add a repository line. Here's the repository line you need: deb http://apt.damz.org/ubuntu natty php54 After all of this, just do the following two commands and you should be all set! sudo apt-get update sudo apt-get install php5 libapache2-mod-php5

willbeeler

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.