PHP 5.4 static package for CentOS 5.x
To build the packages, just execute the command below:
make
The rpm packages will be in the previous directory.
Sometimes it's necessary to install the some dependencies. If your system is missing any dependency, the rpmbuild will tell you about that and you can install it using the yum command.