New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Insert Debian ISO, reformat. <_<
In all seriousness, sorry, I've always avoided CentOS.
CentOS 5 ftw.
I would, unfortunately it's not an option
(I'm a BSD guy myself but debian is quite acceptable)
Compile from source
Or install from an rpm.
rpm -i http://rpms.famillecollet.com/enterprise/6/remi/i386/remi-release-6-1.el6.remi.noarch.rpm
yum install php*
apt-get install build-essential
how do i do that on yum ;-;
(also, why does yum just spit out a python traceback and then die?)
If you want to install the main packages just to compile things use:
If you want to install the "whole" package like build-essential use:
I have done this before on centos, centos is a bit more confusing then debian if you start with debian.
@rms there is also debian-kfreebsd, which is debian userland with a freebsd kernel.
Exaaactly n_n
What he said. CentOS 6's 5.3.3 isn't too bad. Compiling from source isn't as scary as you think it is. With decent CPU it can be done in just a few minutes.
Surprised nobody has mentioned the IUS repo.
http://iuscommunity.org/
The IUS Community Project is aimed at providing up to date and regularly maintained RPM packages for the latest upstream versions of PHP, Python, MySQL and other common software specifically for Redhat Enterprise Linux. IUS can be thought of as a better way to upgrade RHEL, when you need to.
A bunch of techs from Rackspace develop/maintain it. I've not had any problems using both their latest PHP and MySQLD packages on production gear.
I use the CentALT repository with PHP 5.3.10 and Apache 2.2.22.
Why would you run CentOS if you want bleeding edge packages?
You're doing it wrong - there are better distributions for when you want the latest. The stability of packages is the main point of running CentOS, imho.
Welcome to the land of wheel re-invention.
I also use CentALT for Apache 2.2.22, but for nginx CentOS systems I prefer compiling nginx and php from source - much faster keeping up to date with latest packages for nginx and php
If your still looking for help, I just finished writing a tutorial on how to do this. I always forget and when install have to yum install and crap. I made this so I can do it quickly on the go. It is made for Nginx btw.
http://derekharget.com/2012/02/35/centos-install-php-5-3-10-php-fpm-from-source
Thanks