After a little more than 2 months of waiting since the last release, PHP has been updated once again, this time to 5.2.5. The 5.2.5 release brings several security enhancements, more than 60 bug fixes, and improved performance for those of you that like arrays (and really, who doesn't?).
PHP 5.2.5 also updated the bundled version of PCRE to 7.3, although if you're a user of my repository you've been using that version for quite some time now, and the timezone database to 2007.9.
Continue Reading 'Upgrading to PHP 5.2.5 on RHEL and CentOS' »
Well, it's been 3 months since the last release of PHP 5.2 but 5.2.4 is finally here. Unlike the earlier releases of PHP 5.2 which have included both performance/memory optimizations as well as fixes for critical bugs (security issues and otherwise), this release is aimed at improving the overall stability of the 5.2 release chain (no doubt aiming to improve the image of PHP 5.2 with 4.4 being discontinued at the end of the year) by fixing more than 120 small bugs, as well as taking the opportunity to fix a few low-level security holes.
The PHP development team didn't slap a "0mg!!! j00 m|_|$7 |_|pd473 j00r php 0r 3l$3 j00 \/\/1ll b3 h4ck3d!!!" tag on this one but stability is always a good thing so I would recommend that all of my readers upgrade when they get a chance. Really though, since I do all the work, do you really have an excuse NOT to update?
Continue Reading 'Upgrading to PHP 5.2.4 on RHEL and CentOS' »
I've updated the PHP 5.2.3 packages to fix a bug I introduced for the 'php-cgi' binary (in that it wasn't actually a CGI/FastCGI file, oops...) by not reading the changelog closely enough.
If you use FastCGI (please tell me no one is still using CGI) then this update is a must for you. If you don't, don't worry about it.
Continue Reading 'PHP 5.2.3 Packages Updated' »
PHP 5.2.3 has been released. This version does not have the massive number of bug fixes that came with 5.2.2 (which included many of the patches from the Month of PHP Bugs), but it does have some useful fixes included, including the fix for the HTTP_RAW_POST_DATA bug that was introduced in PHP 5.2.2.
This build was relatively straight forward and didn't require any modifications to the spec file from my build of 5.2.2. I'll probably do a respin when MySQL 5.0.42 is finally marked as "released" (the source package is already available but the changelog hasn't been updated with an official release date).
Continue Reading 'Upgrading to PHP 5.2.3 on RHEL and CentOS' »
It's been quite a while since the last release of PHP 5.2. The article I posted on upgrading to PHP 5.2.1 was published back on 2/10/2007, just short of 3 months ago. That all said, PHP 5.2.2 has finally been released and it includes many of the patches that were submitted under the recent "Month of PHP Bugs" (formerly known as "March").
The spec file goes largely unchanged from my release of 5.2.1, although the source has been updated to 5.2.2 and one RH-supplied patch (#50) has been updated to reflect some of the code changes in this newest release.
Continue Reading 'Upgrading to PHP 5.2.2 on RHEL and CentOS' »
Since there have been a few requests for some of the less-common PHP modules (and because these modules are available in the 'centosplus' repo) I decided to build them and have them added to my repositories. The 32- & 64-bit repos now have packages for php-dbase, php-mcrypt, php-mhash, and php-tidy. A few dependencies for those packages popped up (such as libmcrypt, tidy, and mhash) so those have been included as well.
I've also received quite a few requests for a subversion binary package that will work with the newer version of httpd. I'm a bit busy right now, but I'd expect that I'll be able to get to those requests within the next few days.
If you're a regular reader of the site, you may have noticed the "Yum Repository" link at the top of the page. If so, congratulations, you're one of the first to try out a new service I'm offering on this site.
As it appears, most of the posts on this blog thus far have been how-to's on updating your RHEL & CentOS servers to use the newest versions of httpd, PHP, and MySQL. I'm still planning on creating those articles as needed, but only the source packages will be linked to the page. Binary releases for i386 (x86-64 coming soon) will now be available for easy updating through my brand new yum repository (and yes, before you ask, 'up2date' can read a yum repo).
I'm hoping that this will cut down on not only the effort required to update your systems, but also on the possible glitches that can come from updating a complex set of packages like PHP (where, with prior provided methods, you'd need to type out all of the file names that you wanted to install all at once, otherwise you'd have dependency issues with upgrading from an earlier release).
Continue Reading 'Announcing the Utter Ramblings EL4 repository' »
Well, PHP 5.2.1 was released on Thursday so here we go again. PHP 5.2.1 contains more than 180 bug fixes, as well as some performance improvements (official release statement). For those of you that like to stay on the bleeding edge, here's my how-to on upgrading to PHP 5.2.1 for RHEL & CentOS 4.
As I have done with the last few upgrade tutorials, I'm including the modified src.rpm at the bottom of this post. Compiled RPM packages are NOT going to be included as PHP RPMs are dependent on the version of httpd that you're running. If you didn't follow my Upgrading to httpd 2.2.4 how-to, my compiled binaries won't do you a bit of good. In any case, if you've followed any of my other tutorials, you're probably pretty familiar with the process. If not, read my how-to's on Upgrading to PHP 5.1.6 & Upgrading to PHP 5.2.0 BEFORE proceeding as they both contain helpful information about the process.
Continue Reading 'Upgrading to PHP 5.2.1 on RHEL and CentOS' »
Yeah, I know, some of you don't like PHP 5. Some don't like it because it breaks some of their (poorly written) software. Some don't like it because there aren't any RH-approved packages for upgrading. Some don't like it for good reason because PHP 4 is actually faster at many tasks when compared to PHP 5.0.x or 5.1.x (I'm stopping there, 5.2.0 is wicked fast for me). For those people, I'm going to toss this out quickly so that you have an easier time moving to the newest version of PHP 4 without compiling from source.
If anyone reading this uses the Plesk Management Panel then you're probably familiar with AtomicRocketTurtle. "Back in the day" Scott used to provide RPMs for PHP 4.4.4 on RHEL/CentOS 3 & 4. He has since dropped support for that version (unless you're one of this paying customers) but he's still got the src.rpm available for anyone. That src.rpm makes it very easy to upgrade your system to PHP 4.4.4.
Continue Reading 'Upgrading to PHP 4.4.4 on RHEL & CentOS' »
With the release of an src.rpm for PHP 5.2.0 in the Fedora Core 7 development branch, I've decided to roll out PHP 5.2.0 as a test on a couple of our smaller forums that are running vBulletin 3.6.4. According to the changelog, PHP 5.2.0 has an improved memory-management system. With any luck it'll be faster than 5.1.6 and won't break anything in the process.
The procedure to build the PHP 5.2.0 RPMs for RHEL and CentOS 4 is almost identical to the one I used to install PHP 5.1.6 on RHEL and CentOS 4 so this is going to read very similarly to the original how-to. In fact, I recommend reading that post as well before you begin.
One quick warning though, PHP 5.2.0 is currently the bleeding-edge release. I do not recommend that you install it on your production servers without first testing on a development box to make sure that your applications still work as expected. I would also recommend that you build the PHP 5.1.6 RPMs as well, that way you can easily roll back if needed.
To start, you'll need three things. First, you're going to need 'root' access to your server. If you don't have it, even if you can build the RPMs, you won't be able to install them. Second, on most machines, you'll need to install a huge list of dependencies. Finally, you'll need the PHP src.rpm from FC7's development tree.
Continue Reading 'Upgrading to PHP 5.2.0 on RHEL and CentOS' »