Welcome! Log In Create A New Profile

Advanced

How to reinstall php to compile php-fpm?

Posted by beansoup 
How to reinstall php to compile php-fpm?
March 28, 2012 11:52PM
I use ubuntu 10.04, and I install php 5.3.2 by apt-get install with out php-fpm.
How to reinstall php 5.3.2 with php-fpm or upgrade to php 5.3.3?

Thanks a lot.
Re: How to reinstall php to compile php-fpm?
March 29, 2012 12:22AM
OK I would remove PHP first...
Re: How to reinstall php to compile php-fpm?
March 29, 2012 11:34AM
beansoup Wrote:
-------------------------------------------------------
> I use ubuntu 10.04, and I install php 5.3.2 by
> apt-get install with out php-fpm.
> How to reinstall php 5.3.2 with php-fpm or upgrade
> to php 5.3.3?
>
> Thanks a lot.

The best way to use updated software in Ubuntu is to add a package repository with updated Ubuntu packages. The Ubuntu company hosts repositories called PPAs, or personal package archives, on their site: https://launchpad.net/ubuntu/+ppas

Recently some people that were maintaining an updated version of php5 in a PPA stopped doing so. I made a new one with php5.3.10 at https://launchpad.net/~brianmercer/+archive/php5 which you can install by doing:

sudo aptitude install python-software-properties
sudo add-apt-repository ppa:brianmercer/php5
sudo aptitude install php5-fpm

One warning though. I only plan to maintain this repository for a couple months. Next month Ubuntu will release their next long term support version, 12.04, precise, and I plan to upgrade my servers to that version with most people and I will not continue to update the 10.04 version with patches beyond May, 2012.

--
Brian
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 269
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready