Jump to content

Centos and PHP 5.2.x


Recommended Posts

Posted

Hello Guys

just wanted to ask about the best practice of installing php 5.2.x in Centos.

do you prefer to compile it from source or do you use a third party rpm? please tell me where, and how?

cheers

Enkidu

Posted

[quote name='emm1' date='21 November 2009 - 06:21 PM' timestamp='1258827684' post='1881290']
CentOS does come with PHP rpm's, I have always used it and worked fine.


yeah but not the version I want :) . I need version 5.2.11

Posted

I have an unmanaged dedicated server running PLESK on top of CentOS 5. PLESK is often 'warranted' only on versions of PHP and MySQL several versions behind the curve. To get around this, I use atomicrocket repositories. http://www.atomicorp.com/channels/atomic/centos/5/i386/ .

I trust these repositories to have been tested with my version of PLESK.

Posted

I use PHP 5.2.11 + nginx, both compiled from source and I'm quite happy with the performance gains. Not really possible if you use a control-panel as they tend to take over and almost infest the OS to the point where doing things independent of it, tends to break things in my experience.

Posted

I compile everything from source. The only thing I don't compile is MySQL only because the repositories are close enough to what everyone else uses, and it's easy to update when I need to. But Apache, PHP, etc.... Easy enough for me to download the latest sources and compile.

I do like cPanel and EasyApache as I can grab the latest of what I need (usually) and compile it all with a few clicks. But sometimes having the raw power of compiling your own stuff is just very helpful.

  • 1 month later...
Posted

I recently upgraded a CentOS4 server to PHP 5.3.1/MySQl 5.x for IPB 3 for a site-owner wanted to wait until CentOS 6 to do an OS upgrade (since he wished he'd waited and *started* with CentOS5 years ago). I tried both the REMI RPM (the only PHP 5.3.x for CentOS 4) and compiling it myself. Compiling it required far fewer dependencies, had better CPU efficiency, etc.

Admittedly, this was using lighttpd

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...