Enkidu Posted November 21, 2009 Posted November 21, 2009 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
PSXHosting Ltd. Posted November 21, 2009 Posted November 21, 2009 CentOS does come with PHP rpm's, I have always used it and worked fine.
Enkidu Posted November 21, 2009 Author Posted November 21, 2009 [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
rct2·com Posted November 21, 2009 Posted November 21, 2009 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.
Mark H. Posted November 21, 2009 Posted November 21, 2009 Doesn't sound like you do, but if you have a WHM/cPanel server then 5.2.11 is an option in EasyApache.
Andy Millne Posted November 21, 2009 Posted November 21, 2009 I'll second the atomic rocket suggestion. There's a good wiki guide here... http://www.atomicorp.com/wiki/index.php/PHP
OpenWare Posted November 22, 2009 Posted November 22, 2009 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.
Luke Posted November 27, 2009 Posted November 27, 2009 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.
StangVert Posted January 14, 2010 Posted January 14, 2010 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.